test/dummy/log/test.log in ckeditor-3.7.3 vs test/dummy/log/test.log in ckeditor-4.0.0.rc1
- old
+ new
@@ -8824,5 +8824,2848 @@
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (79.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:31 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:12:31 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb1f0828 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-4gpwxo>>, "CKEditor"=>"ckeditor_field"}
+Completed 500 Internal Server Error in 65ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa297674 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-1fsy0tz>>}
+Completed 500 Internal Server Error in 2ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 500 Internal Server Error in 2ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:32 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:12:32 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 153ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc[0m
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.3ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "800>" '/tmp/rails20130106-25328-1eyn0a020130106-25328-jwrs2e'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1eyn0a020130106-25328-11u31uy'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc80e14 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-sq3sqg>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "800>" '/tmp/rails20130106-25328-1bt4v8x20130106-25328-15tn7la'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1bt4v8x20130106-25328-1sy8u4i'
+Completed 500 Internal Server Error in 75ms
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xc134258 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-a3n6in>>}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "800>" '/tmp/rails20130106-25328-1xn72wr20130106-25328-1bv19ku'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1xn72wr20130106-25328-1goc5at'
+Completed 500 Internal Server Error in 134ms
+ [1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "800>" '/tmp/rails20130106-25328-10zwifz20130106-25328-z1gmlq'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-10zwifz20130106-25328-113kyke'
+Completed 500 Internal Server Error in 95ms
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "800>" '/tmp/rails20130106-25328-17jr67p20130106-25328-1rmit85'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-17jr67p20130106-25328-1e85sth'
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 29ms (Views: 27.0ms | ActiveRecord: 0.3ms)
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.8ms)
+Completed 200 OK in 81ms (Views: 80.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa31f240 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-1uz5lcz>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 252ms (Views: 72.3ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa42f1f8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-i2acl6>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "800>" '/tmp/rails20130106-25413-i5kld20130106-25413-mensfs'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-i5kld20130106-25413-1irigvi'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb4abdd8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-vj2zu7>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "800>" '/tmp/rails20130106-25413-4gedp920130106-25413-45sgrj'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-4gedp920130106-25413-1y5uqc9'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d81ba8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-16wj64h>>}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "800>" '/tmp/rails20130106-25413-1i6o7up20130106-25413-1lzoz9s'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-1i6o7up20130106-25413-1iqui7q'
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 100ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "800>" '/tmp/rails20130106-25413-pi9btd20130106-25413-13m2xbe'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-pi9btd20130106-25413-yji16a'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "800>" '/tmp/rails20130106-25413-7ip0cm20130106-25413-1wnvplj'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-7ip0cm20130106-25413-15mfl1n'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.5ms)
+Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa97291c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-nvjgj6>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 192ms (Views: 66.8ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa34c6b4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-dhrn3c>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "800>" '/tmp/rails20130106-25520-8lfj9120130106-25520-1jnyj66'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-8lfj9120130106-25520-ohw4wt'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc01858 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-frz57x>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "800>" '/tmp/rails20130106-25520-15gphc120130106-25520-u5654w'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-15gphc120130106-25520-pqait4'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 163ms (Views: 1.4ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3f6cb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-12ezie8>>}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "800>" '/tmp/rails20130106-25520-1ewmshb20130106-25520-1257myj'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-1ewmshb20130106-25520-17xtgjs'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "800>" '/tmp/rails20130106-25520-mnkzds20130106-25520-1u6k9hw'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-mnkzds20130106-25520-1uzgt79'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 102ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "800>" '/tmp/rails20130106-25520-nr6mqb20130106-25520-1xp7r77'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-nr6mqb20130106-25520-awmcgo'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (8.1ms)
+Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.1ms)
+Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:26 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:26 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a41a4c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-h7wf6z>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 193ms (Views: 67.0ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x981bb50 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-cseptc>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "800>" '/tmp/rails20130106-25611-1xfr93y20130106-25611-2udqmf'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1xfr93y20130106-25611-1aofw4h'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6b7c04 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-167a7s7>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "800>" '/tmp/rails20130106-25611-rudboq20130106-25611-oy65e0'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-rudboq20130106-25611-1v0ttf7'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 1.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d32300 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-1umvf4r>>}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "800>" '/tmp/rails20130106-25611-1boq48u20130106-25611-1g2v21m'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1boq48u20130106-25611-1nrxkto'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "800>" '/tmp/rails20130106-25611-1coo36220130106-25611-1y06lj8'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1coo36220130106-25611-1k8abff'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "800>" '/tmp/rails20130106-25611-cwzq2a20130106-25611-wse7ab'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-cwzq2a20130106-25611-bqx6dw'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (8.0ms)
+Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (56.7ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa3c5e38 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-c0bgxz>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 192ms (Views: 66.9ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa0b0220 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-h7e44r>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "800>" '/tmp/rails20130106-25705-ft5jvw20130106-25705-ngjr6a'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-ft5jvw20130106-25705-2r58i'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0b4c48 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-yxoqs6>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "800>" '/tmp/rails20130106-25705-xlkxn720130106-25705-1256bcw'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-xlkxn720130106-25705-1qdcpgr'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa1fc354 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-rsd99r>>}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "800>" '/tmp/rails20130106-25705-10dnm2s20130106-25705-1nji2g'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-10dnm2s20130106-25705-1esoqci'
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] Scheduling attachments for deletion.
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "800>" '/tmp/rails20130106-25705-1wr0wkr20130106-25705-uxaepq'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-1wr0wkr20130106-25705-odn9lu'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 101ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "800>" '/tmp/rails20130106-25705-15lm7j420130106-25705-1dcjhij'
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
+[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-15lm7j420130106-25705-14cma1x'
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
+[paperclip] Saving attachments.
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] Scheduling attachments for deletion.
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (8.0ms)
+Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.2ms)
+Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8c19e74 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-wu2hoh>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x8f658a8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-9v2j1h>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8f58edc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-1nksio0>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x926e590 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-500cs>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 162ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 213ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.8ms)
+Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb07cd34 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-1fu2r6i>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaf4f204 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-160w2qv>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 82ms (Views: 79.6ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb67af4c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-49ib3c>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 214ms (Views: 1.4ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa99b394 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-whaelg>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 210ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.8ms)
+Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa599854 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1p6rtl2>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 134ms (Views: 63.6ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9a1c01c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1xy98vi>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 82ms (Views: 79.5ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa303374 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1pb927p>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 218ms (Views: 1.3ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3aba9c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1k7d22v>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 166ms (Views: 0.6ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 219ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.7ms)
+Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (4.9ms)
+Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a60320 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-w0xd4k>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 135ms (Views: 63.8ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c791e8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-metqyc>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
+Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a5eca0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-1l1ty45>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x90caea0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-okuxp2>>}
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 168ms (Views: 0.6ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 162ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.4ms)
+Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (4.9ms)
+Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreatePosts (20110623120047)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:54 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:54 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ad7484 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-b27p91>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Rendered text template (0.0ms)
+Completed 200 OK in 134ms (Views: 63.0ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa2be3f0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-kgq8j>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 81ms (Views: 79.1ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ad3bb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-a94cw0>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 212ms (Views: 1.3ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d5ba0c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-14b2p9o>>}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 156ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.2ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#new as HTML
+ Rendered posts/_form.html.erb (7.8ms)
+Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m rollback transaction