test/dummy/log/test.log in ckeditor-3.7.0.rc1 vs test/dummy/log/test.log in ckeditor-3.7.0.rc2
- old
+ new
@@ -1,4444 +1,7648 @@
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (154.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (84.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m select sqlite_version(*)
+ [1m[36mSQL (165.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36mSQL (56.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.6ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime)
- [1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')[0m
+ [1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.6ms)[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, "updated_at" datetime)
- [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.0ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.1ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (87.9ms)[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", Wed, 04 Jan 2012 10:27:45 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", Wed, 04 Jan 2012 10:27:45 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.4ms)[0m [1mCREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")[0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('idx_ckeditor_assetable_type')[0m
+ [1m[35mSQL (0.2ms)[0m CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb5e7c10 @tempfile=#<File:/tmp/rails.tar.gz20110808-3611-oa82sf-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_name", "assetable_type", "data_content_type", "data_file_size", "created_at", "assetable_id") VALUES ('Ckeditor::AttachmentFile', '2011-08-08 17:28:50.906425', 'rails_tar.gz', NULL, 'application/x-gzip', 6823, '2011-08-08 17:28:50.906425', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6135-183wh5f.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6135-183wh5f.png[0]' -resize "800>" '/tmp/stream20120104-6135-183wh5f20120104-6135-wpb5vk'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6135-183wh5f.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6135-183wh5f.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6135-183wh5f20120104-6135-x1yof0'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6135-183wh5f.png[0]'
- [1m[35mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:27:46 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:27:46 UTC +00:00], ["width", 50]]
+Rendered text template (0.0ms)
+Completed 200 OK in 444ms (Views: 2.9ms | ActiveRecord: 225.0ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb58167c @tempfile=#<File:/tmp/rails.tar.gz20110808-3611-1vyjv04-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_name", "assetable_type", "data_content_type", "data_file_size", "created_at", "assetable_id") VALUES ('Ckeditor::AttachmentFile', '2011-08-08 17:28:51.030994', 'rails_tar.gz', NULL, 'application/x-gzip', 6823, '2011-08-08 17:28:51.030994', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 70ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_name", "assetable_type", "data_content_type", "data_file_size", "created_at", "assetable_id") VALUES ('Ckeditor::AttachmentFile', '2011-08-08 17:28:51.117018', 'rails_tar.gz', NULL, 'application/x-gzip', 6823, '2011-08-08 17:28:51.117018', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.2ms)
+Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb5ad0d8 @tempfile=#<File:/tmp/rails.png20110808-3611-1p2e99o-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "assetable_type", "type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id") VALUES ('2011-08-08 17:29:04.359525', NULL, 'Ckeditor::Picture', 'image/png', 'rails.png', '2011-08-08 17:29:04.359525', 6646, NULL)
+[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (5.7ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:28:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:28:07 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 728ms (Views: 1.0ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb3d6c64 @tempfile=#<File:/tmp/rails.png20110808-3611-1pppdoq-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "assetable_type", "type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id") VALUES ('2011-08-08 17:29:04.546423', NULL, 'Ckeditor::Picture', 'image/png', 'rails.png', '2011-08-08 17:29:04.546423', 6646, NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 173ms (Views: 0.7ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[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[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "assetable_type", "type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id") VALUES ('2011-08-08 17:29:04.734564', NULL, 'Ckeditor::Picture', 'image/png', 'rails.png', '2011-08-08 17:29:04.734564', 6646, NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.3ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "created_at", "info", "content") VALUES ('2011-08-08 17:29:04.788763', 'test', '2011-08-08 17:29:04.788763', 'info', 'content')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:28:07 +0200
+Started GET "/posts/new" for 127.0.0.1 at Mon Aug 08 20:29:04 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (10.1ms)
-Rendered posts/new.html.erb within layouts/application (20.7ms)
-Completed 200 OK in 92ms (Views: 91.2ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:28:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:28:07 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (7.5ms)
+Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.8ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "posts" ("updated_at", "title", "created_at", "info", "content") VALUES ('2011-08-08 17:29:04.878805', 'test', '2011-08-08 17:29:04.878805', 'info', 'content')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:28:07 +0200
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 20:29:04 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Rendered posts/index.html.erb within layouts/application (2.9ms)
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:28:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:28:07 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.8ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "title", "created_at", "info", "content") VALUES ('2011-08-08 17:29:04.900802', 'test', '2011-08-08 17:29:04.900802', 'info', 'content')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:28:07 +0200
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 20:29:04 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Rendered posts/index.html.erb within layouts/application (2.4ms)
-Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:28:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:28:07 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.8ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "title", "created_at", "info", "content") VALUES ('2011-08-08 17:29:04.918498', 'test', '2011-08-08 17:29:04.918498', 'info', 'content')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:28:07 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Mon Aug 08 20:29:04 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.0ms)
-Rendered posts/edit.html.erb within layouts/application (4.5ms)
-Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (6.1ms)
+Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (5.0ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:29:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:01 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:29:02 +0200
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.1ms)
-Rendered posts/new.html.erb within layouts/application (10.7ms)
-Completed 200 OK in 52ms (Views: 51.5ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:29:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:02 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:29:02 +0200
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Rendered posts/index.html.erb within layouts/application (2.7ms)
-Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:29:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:02 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:29:02 +0200
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Rendered posts/index.html.erb within layouts/application (2.5ms)
-Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:29:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:02 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:29:02 +0200
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.0ms)
-Rendered posts/edit.html.erb within layouts/application (4.6ms)
-Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa2abd90 @tempfile=#<File:/tmp/rails.tar.gz20110808-3693-1wspv5-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id", "assetable_type", "updated_at") VALUES ('Ckeditor::AttachmentFile', 'application/x-gzip', 'rails_tar.gz', '2011-08-08 17:35:36.359381', 6823, NULL, NULL, '2011-08-08 17:35:36.359381')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 300ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa26177c @tempfile=#<File:/tmp/rails.tar.gz20110808-3693-j9nmv-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id", "assetable_type", "updated_at") VALUES ('Ckeditor::AttachmentFile', 'application/x-gzip', 'rails_tar.gz', '2011-08-08 17:35:36.431826', 6823, NULL, NULL, '2011-08-08 17:35:36.431826')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 54ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_content_type", "data_file_name", "created_at", "data_file_size", "assetable_id", "assetable_type", "updated_at") VALUES ('Ckeditor::AttachmentFile', 'application/x-gzip', 'rails_tar.gz', '2011-08-08 17:35:36.501588', 6823, NULL, NULL, '2011-08-08 17:35:36.501588')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9fe3658 @tempfile=#<File:/tmp/rails.png20110808-3693-4frecg-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "type", "assetable_id", "data_file_size", "created_at", "data_file_name", "assetable_type") VALUES ('image/png', '2011-08-08 17:35:36.707357', 'Ckeditor::Picture', NULL, 6646, '2011-08-08 17:35:36.707357', 'rails.png', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 151ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9eca140 @tempfile=#<File:/tmp/rails.png20110808-3693-rl9ciu-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "type", "assetable_id", "data_file_size", "created_at", "data_file_name", "assetable_type") VALUES ('image/png', '2011-08-08 17:35:36.873714', 'Ckeditor::Picture', NULL, 6646, '2011-08-08 17:35:36.873714', 'rails.png', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 154ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "type", "assetable_id", "data_file_size", "created_at", "data_file_name", "assetable_type") VALUES ('image/png', '2011-08-08 17:35:37.073259', 'Ckeditor::Picture', NULL, 6646, '2011-08-08 17:35:37.073259', 'rails.png', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (5.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:29:22 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:22 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mAREL (0.7ms)[0m INSERT INTO "posts" ("info", "created_at", "content", "updated_at", "title") VALUES ('info', '2011-08-08 17:37:01.679187', 'content', '2011-08-08 17:37:01.679187', 'test')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:29:22 +0200
+Started GET "/posts/new" for 127.0.0.1 at Mon Aug 08 20:37:01 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.2ms)
-Rendered posts/new.html.erb within layouts/application (11.0ms)
-Completed 200 OK in 52ms (Views: 51.8ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:29:22 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:22 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (10.7ms)
+Rendered posts/new.html.erb within layouts/application (14.8ms)
+Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 1.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "created_at", "content", "updated_at", "title") VALUES ('info', '2011-08-08 17:37:01.754621', 'content', '2011-08-08 17:37:01.754621', 'test')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:29:22 +0200
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 20:37:01 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Rendered posts/index.html.erb within layouts/application (2.8ms)
-Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:29:22 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:22 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Rendered posts/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("info", "created_at", "content", "updated_at", "title") VALUES ('info', '2011-08-08 17:37:01.770795', 'content', '2011-08-08 17:37:01.770795', 'test')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:29:22 +0200
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 20:37:01 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Rendered posts/index.html.erb within layouts/application (2.4ms)
-Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:29:22 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:29:22 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Rendered posts/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "created_at", "content", "updated_at", "title") VALUES ('info', '2011-08-08 17:37:01.784781', 'content', '2011-08-08 17:37:01.784781', 'test')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:29:22 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Mon Aug 08 20:37:01 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (4.0ms)
-Rendered posts/edit.html.erb within layouts/application (5.8ms)
-Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.2ms)
+Rendered posts/edit.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[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 (44.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", Wed, 04 Jan 2012 10:29:45 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", Wed, 04 Jan 2012 10:29:45 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa968d90 @tempfile=#<File:/tmp/rails.tar.gz20110808-3771-1sitaxh-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "type", "data_content_type", "assetable_type", "updated_at", "data_file_size", "created_at") VALUES (NULL, 'rails_tar.gz', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, '2011-08-08 17:48:09.710005', 6823, '2011-08-08 17:48:09.710005')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 301ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6194-3kc67g.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6194-3kc67g.png[0]' -resize "800>" '/tmp/stream20120104-6194-3kc67g20120104-6194-yiqrzr'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6194-3kc67g.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6194-3kc67g.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6194-3kc67g20120104-6194-etzcik'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6194-3kc67g.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:29:45 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:29:45 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa91e858 @tempfile=#<File:/tmp/rails.tar.gz20110808-3771-bp7w2m-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "type", "data_content_type", "assetable_type", "updated_at", "data_file_size", "created_at") VALUES (NULL, 'rails_tar.gz', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, '2011-08-08 17:48:09.782948', 6823, '2011-08-08 17:48:09.782948')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 54ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "type", "data_content_type", "assetable_type", "updated_at", "data_file_size", "created_at") VALUES (NULL, 'rails_tar.gz', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, '2011-08-08 17:48:09.852643', 6823, '2011-08-08 17:48:09.852643')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6a06bc @tempfile=#<File:/tmp/rails.png20110808-3771-1nvpmcc-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_content_type", "created_at", "data_file_size", "assetable_id", "data_file_name", "updated_at", "assetable_type") VALUES ('Ckeditor::Picture', 'image/png', '2011-08-08 17:48:10.069556', 6646, NULL, 'rails.png', '2011-08-08 17:48:10.069556', NULL)
+[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [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.4ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+Completed 200 OK in 162ms (Views: 0.9ms | ActiveRecord: 0.8ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5870dc @tempfile=#<File:/tmp/rails.png20110808-3771-zzvbfa-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_content_type", "created_at", "data_file_size", "assetable_id", "data_file_name", "updated_at", "assetable_type") VALUES ('Ckeditor::Picture', 'image/png', '2011-08-08 17:48:10.235901', 6646, NULL, 'rails.png', '2011-08-08 17:48:10.235901', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 154ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_content_type", "created_at", "data_file_size", "assetable_id", "data_file_name", "updated_at", "assetable_type") VALUES ('Ckeditor::Picture', 'image/png', '2011-08-08 17:48:10.402183', 6646, NULL, 'rails.png', '2011-08-08 17:48:10.402183', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa9f6d0c @tempfile=#<File:/tmp/rails.tar.gz20110808-3824-ep6mwd-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "assetable_type", "type", "data_content_type", "updated_at", "assetable_id", "data_file_name", "created_at") VALUES (6823, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-08 17:52:38.274923', NULL, 'rails_tar.gz', '2011-08-08 17:52:38.274923')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 366ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa9ac7e8 @tempfile=#<File:/tmp/rails.tar.gz20110808-3824-a0ympy-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "assetable_type", "type", "data_content_type", "updated_at", "assetable_id", "data_file_name", "created_at") VALUES (6823, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-08 17:52:38.346627', NULL, 'rails_tar.gz', '2011-08-08 17:52:38.346627')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 53ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "assetable_type", "type", "data_content_type", "updated_at", "assetable_id", "data_file_name", "created_at") VALUES (6823, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-08 17:52:38.416243', NULL, 'rails_tar.gz', '2011-08-08 17:52:38.416243')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa72e5fc @tempfile=#<File:/tmp/rails.png20110808-3824-1vxs5l3-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_content_type", "updated_at", "data_file_name", "assetable_id", "data_file_size", "type") VALUES (NULL, '2011-08-08 17:52:38.622101', 'image/png', '2011-08-08 17:52:38.622101', 'rails.png', NULL, 6646, 'Ckeditor::Picture')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 151ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa61506c @tempfile=#<File:/tmp/rails.png20110808-3824-12iuggy-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_content_type", "updated_at", "data_file_name", "assetable_id", "data_file_size", "type") VALUES (NULL, '2011-08-08 17:52:38.799533', 'image/png', '2011-08-08 17:52:38.799533', 'rails.png', NULL, 6646, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+Completed 200 OK in 165ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_content_type", "updated_at", "data_file_name", "assetable_id", "data_file_size", "type") VALUES (NULL, '2011-08-08 17:52:38.988004', 'image/png', '2011-08-08 17:52:38.988004', 'rails.png', NULL, 6646, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[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 (38.1ms)[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", Wed, 04 Jan 2012 10:38:12 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", Wed, 04 Jan 2012 10:38:12 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb9b6454 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-3915-14diyxp-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "type", "created_at", "data_file_size", "data_content_type", "assetable_type", "updated_at") VALUES ('rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:13:40.332603', 6823, 'application/x-gzip', NULL, '2011-08-08 18:13:40.332603')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 302ms (Views: 2.9ms | ActiveRecord: 1.8ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6281-1qhkot7.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6281-1qhkot7.png[0]' -resize "800>" '/tmp/stream20120104-6281-1qhkot720120104-6281-j2r7ce'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6281-1qhkot7.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6281-1qhkot7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6281-1qhkot720120104-6281-1i26dho'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6281-1qhkot7.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:38:12 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:38:12 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb96a824 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-3915-1xat33q-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "type", "created_at", "data_file_size", "data_content_type", "assetable_type", "updated_at") VALUES ('rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:13:40.403901', 6823, 'application/x-gzip', NULL, '2011-08-08 18:13:40.403901')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 52ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "type", "created_at", "data_file_size", "data_content_type", "assetable_type", "updated_at") VALUES ('rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:13:40.512285', 6823, 'application/x-gzip', NULL, '2011-08-08 18:13:40.512285')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 13ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.1ms)
+Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb6ec020 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-3915-14wvpdv-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_file_name", "type", "data_content_type", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, '2011-08-08 18:13:40.779471', 'rails.png', 'Ckeditor::Picture', 'image/png', 6646, '2011-08-08 18:13:40.779471', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 211ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb5d40fc @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-3915-2ya7se-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_file_name", "type", "data_content_type", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, '2011-08-08 18:13:40.979378', 'rails.png', 'Ckeditor::Picture', 'image/png', 6646, '2011-08-08 18:13:40.979378', NULL)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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 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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_file_name", "type", "data_content_type", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, '2011-08-08 18:13:41.269090', 'rails.png', 'Ckeditor::Picture', 'image/png', 6646, '2011-08-08 18:13:41.269090', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[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 SAVEPOINT active_record_1
- [1m[36mSQL (40.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", Wed, 04 Jan 2012 10:39:02 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", Wed, 04 Jan 2012 10:39:02 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa732468 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-3994-1hzkzap-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "assetable_type", "assetable_id", "data_file_name", "data_file_size", "type", "created_at") VALUES ('application/x-gzip', '2011-08-08 18:15:22.529265', NULL, NULL, 'rails_tar.gz', 6823, 'Ckeditor::AttachmentFile', '2011-08-08 18:15:22.529265')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+Rendered text template (0.0ms)
+Completed 200 OK in 281ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6308-12x7iln.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6308-12x7iln.png[0]' -resize "800>" '/tmp/stream20120104-6308-12x7iln20120104-6308-1y47opn'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6308-12x7iln.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6308-12x7iln.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6308-12x7iln20120104-6308-1msivoy'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6308-12x7iln.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:39: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", Wed, 04 Jan 2012 10:39:02 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa6e670c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-3994-1u0j6yo-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "assetable_type", "assetable_id", "data_file_name", "data_file_size", "type", "created_at") VALUES ('application/x-gzip', '2011-08-08 18:15:22.599988', NULL, NULL, 'rails_tar.gz', 6823, 'Ckeditor::AttachmentFile', '2011-08-08 18:15:22.599988')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 52ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "assetable_type", "assetable_id", "data_file_name", "data_file_size", "type", "created_at") VALUES ('application/x-gzip', '2011-08-08 18:15:22.689059', NULL, NULL, 'rails_tar.gz', 6823, 'Ckeditor::AttachmentFile', '2011-08-08 18:15:22.689059')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.1ms)
+Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa468020 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-3994-10bhgr6-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "created_at", "assetable_id", "data_file_size", "assetable_type", "updated_at", "type", "data_file_name") VALUES ('image/png', '2011-08-08 18:15:22.930883', NULL, 6646, NULL, '2011-08-08 18:15:22.930883', 'Ckeditor::Picture', 'rails.png')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa350110 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-3994-1ljsurb-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "created_at", "assetable_id", "data_file_size", "assetable_type", "updated_at", "type", "data_file_name") VALUES ('image/png', '2011-08-08 18:15:23.130522', NULL, 6646, NULL, '2011-08-08 18:15:23.130522', 'Ckeditor::Picture', 'rails.png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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 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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "created_at", "assetable_id", "data_file_size", "assetable_type", "updated_at", "type", "data_file_name") VALUES ('image/png', '2011-08-08 18:15:23.330062', NULL, 6646, NULL, '2011-08-08 18:15:23.330062', 'Ckeditor::Picture', 'rails.png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[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 (40.2ms)[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", Wed, 04 Jan 2012 10:39:21 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", Wed, 04 Jan 2012 10:39:21 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa61448c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4026-u03jed-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "type", "assetable_id", "data_file_size", "assetable_type", "data_content_type", "updated_at") VALUES ('2011-08-08 18:16:46.782512', 'rails_tar.gz', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-08-08 18:16:46.782512')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 268ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6335-9qwce4.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6335-9qwce4.png[0]' -resize "800>" '/tmp/stream20120104-6335-9qwce420120104-6335-oloxnn'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6335-9qwce4.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6335-9qwce4.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6335-9qwce420120104-6335-efj8gc'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6335-9qwce4.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:39:21 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:39:21 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5c8744 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4026-1qf9jrr-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "type", "assetable_id", "data_file_size", "assetable_type", "data_content_type", "updated_at") VALUES ('2011-08-08 18:16:46.854049', 'rails_tar.gz', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-08-08 18:16:46.854049')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 53ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "type", "assetable_id", "data_file_size", "assetable_type", "data_content_type", "updated_at") VALUES ('2011-08-08 18:16:46.942926', 'rails_tar.gz', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-08-08 18:16:46.942926')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa349ff4 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4026-1q2q1wy-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_name", "data_content_type", "data_file_size", "assetable_type", "created_at", "assetable_id", "updated_at") VALUES ('Ckeditor::Picture', 'rails.png', 'image/png', 6646, NULL, '2011-08-08 18:16:47.151592', NULL, '2011-08-08 18:16:47.151592')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 153ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa2320f8 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4026-1as0swe-0>, @content_type="image/png">}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_file_name", "data_content_type", "data_file_size", "assetable_type", "created_at", "assetable_id", "updated_at") VALUES ('Ckeditor::Picture', 'rails.png', 'image/png', 6646, NULL, '2011-08-08 18:16:47.340191', NULL, '2011-08-08 18:16:47.340191')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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.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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 176ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_file_name", "data_content_type", "data_file_size", "assetable_type", "created_at", "assetable_id", "updated_at") VALUES ('Ckeditor::Picture', 'rails.png', 'image/png', 6646, NULL, '2011-08-08 18:16:47.539698', NULL, '2011-08-08 18:16:47.539698')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Completed 500 Internal Server Error in 109ms
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[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 (38.8ms)[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", Wed, 04 Jan 2012 10:39: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", Wed, 04 Jan 2012 10:39:54 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa67343c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4067-ds5vnm-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "updated_at", "data_content_type", "created_at", "type", "data_file_name", "assetable_type") VALUES (NULL, 6823, '2011-08-08 18:18:37.716252', 'application/x-gzip', '2011-08-08 18:18:37.716252', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL)[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 262ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6361-nm7q93.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6361-nm7q93.png[0]' -resize "800>" '/tmp/stream20120104-6361-nm7q9320120104-6361-18u0xj1'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6361-nm7q93.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6361-nm7q93.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6361-nm7q9320120104-6361-35wai3'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6361-nm7q93.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:39:54 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:39:54 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa6276cc @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4067-13v3hbw-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "updated_at", "data_content_type", "created_at", "type", "data_file_name", "assetable_type") VALUES (NULL, 6823, '2011-08-08 18:18:37.787994', 'application/x-gzip', '2011-08-08 18:18:37.787994', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 53ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "updated_at", "data_content_type", "created_at", "type", "data_file_name", "assetable_type") VALUES (NULL, 6823, '2011-08-08 18:18:37.885017', 'application/x-gzip', '2011-08-08 18:18:37.885017', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.1ms)
+Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa3a8ff4 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4067-17f9m5f-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_name", "data_content_type", "type", "updated_at", "created_at", "data_file_size") VALUES (NULL, NULL, 'rails.png', 'image/png', 'Ckeditor::Picture', '2011-08-08 18:18:38.085643', '2011-08-08 18:18:38.085643', 6646)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 146ms (Views: 0.9ms | ActiveRecord: 0.8ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa290fb8 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4067-dxztwq-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_name", "data_content_type", "type", "updated_at", "created_at", "data_file_size") VALUES (NULL, NULL, 'rails.png', 'image/png', 'Ckeditor::Picture', '2011-08-08 18:18:38.263064', '2011-08-08 18:18:38.263064', 6646)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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 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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 165ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_name", "data_content_type", "type", "updated_at", "created_at", "data_file_size") VALUES (NULL, NULL, 'rails.png', 'image/png', 'Ckeditor::Picture', '2011-08-08 18:18:38.470453', '2011-08-08 18:18:38.470453', 6646)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 197ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [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 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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_name", "data_content_type", "type", "updated_at", "created_at", "data_file_size") VALUES (NULL, NULL, 'rails.png', 'image/png', 'Ckeditor::Picture', '2011-08-08 18:18:38.684399', '2011-08-08 18:18:38.684399', 6646)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[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" = '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 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[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 (38.0ms)[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", Wed, 04 Jan 2012 10:44:02 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", Wed, 04 Jan 2012 10:44:02 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb948468 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4117-2kw58w-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "updated_at", "type", "data_file_size", "data_content_type", "assetable_id", "data_file_name") VALUES (NULL, '2011-08-08 18:21:39.376311', '2011-08-08 18:21:39.376311', 'Ckeditor::AttachmentFile', 6823, 'application/x-gzip', NULL, 'rails_tar.gz')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 299ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6447-1d1e45w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6447-1d1e45w.png[0]' -resize "800>" '/tmp/stream20120104-6447-1d1e45w20120104-6447-bxthyu'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6447-1d1e45w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6447-1d1e45w.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6447-1d1e45w20120104-6447-mtgvlv'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6447-1d1e45w.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:44: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", Wed, 04 Jan 2012 10:44:02 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb8fc70c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4117-9z99jc-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "updated_at", "type", "data_file_size", "data_content_type", "assetable_id", "data_file_name") VALUES (NULL, '2011-08-08 18:21:39.447411', '2011-08-08 18:21:39.447411', 'Ckeditor::AttachmentFile', 6823, 'application/x-gzip', NULL, 'rails_tar.gz')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 52ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "updated_at", "type", "data_file_size", "data_content_type", "assetable_id", "data_file_name") VALUES (NULL, '2011-08-08 18:21:39.536391', '2011-08-08 18:21:39.536391', 'Ckeditor::AttachmentFile', 6823, 'application/x-gzip', NULL, 'rails_tar.gz')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb67e0e8 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4117-9hs621-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "created_at", "data_file_size", "data_content_type", "assetable_id", "type", "assetable_type", "updated_at") VALUES ('rails.png', '2011-08-08 18:21:39.745046', 6646, 'image/png', NULL, 'Ckeditor::Picture', NULL, '2011-08-08 18:21:39.745046')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 154ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb566070 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4117-14k00qm-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "created_at", "data_file_size", "data_content_type", "assetable_id", "type", "assetable_type", "updated_at") VALUES ('rails.png', '2011-08-08 18:21:39.955751', 6646, 'image/png', NULL, 'Ckeditor::Picture', NULL, '2011-08-08 18:21:39.955751')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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.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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 198ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "created_at", "data_file_size", "data_content_type", "assetable_id", "type", "assetable_type", "updated_at") VALUES ('rails.png', '2011-08-08 18:21:40.144259', 6646, 'image/png', NULL, 'Ckeditor::Picture', NULL, '2011-08-08 18:21:40.144259')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "created_at", "data_file_size", "data_content_type", "assetable_id", "type", "assetable_type", "updated_at") VALUES ('rails.png', '2011-08-08 18:21:40.310539', 6646, 'image/png', NULL, 'Ckeditor::Picture', NULL, '2011-08-08 18:21:40.310539')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Completed 500 Internal Server Error in 92ms
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[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 SAVEPOINT active_record_1
- [1m[36mSQL (38.0ms)[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", Wed, 04 Jan 2012 10:45:49 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", Wed, 04 Jan 2012 10:45:49 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xafecf68 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4159-kq6jtg-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "type", "updated_at", "created_at", "assetable_id", "data_file_size", "data_file_name", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:22:53.573045', '2011-08-08 18:22:53.573045', NULL, 6823, 'rails_tar.gz', 'application/x-gzip')[0m
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Rendered text template (0.0ms)
+Completed 200 OK in 298ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6477-1g03u05.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6477-1g03u05.png[0]' -resize "800>" '/tmp/stream20120104-6477-1g03u0520120104-6477-1dqm554'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6477-1g03u05.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6477-1g03u05.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6477-1g03u0520120104-6477-cemxsa'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6477-1g03u05.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:45:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:45:49 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xafa152c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4159-1lpej9k-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "type", "updated_at", "created_at", "assetable_id", "data_file_size", "data_file_name", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:22:53.643860', '2011-08-08 18:22:53.643860', NULL, 6823, 'rails_tar.gz', 'application/x-gzip')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 52ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "type", "updated_at", "created_at", "assetable_id", "data_file_size", "data_file_name", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:22:53.724580', '2011-08-08 18:22:53.724580', NULL, 6823, 'rails_tar.gz', 'application/x-gzip')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xad08b08 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4159-19bokv2-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "updated_at", "assetable_id", "type", "data_file_size", "data_file_name", "created_at") VALUES (NULL, 'image/png', '2011-08-08 18:22:53.952430', NULL, 'Ckeditor::Picture', 6646, 'rails.png', '2011-08-08 18:22:53.952430')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 174ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xac061c4 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4159-hfitg3-0>, @content_type="image/png">}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "updated_at", "assetable_id", "type", "data_file_size", "data_file_name", "created_at") VALUES (NULL, 'image/png', '2011-08-08 18:22:54.118804', NULL, 'Ckeditor::Picture', 6646, 'rails.png', '2011-08-08 18:22:54.118804')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 154ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "updated_at", "assetable_id", "type", "data_file_size", "data_file_name", "created_at") VALUES (NULL, 'image/png', '2011-08-08 18:22:54.285052', NULL, 'Ckeditor::Picture', 6646, 'rails.png', '2011-08-08 18:22:54.285052')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 155ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "updated_at", "assetable_id", "type", "data_file_size", "data_file_name", "created_at") VALUES (NULL, 'image/png', '2011-08-08 18:22:54.495721', NULL, 'Ckeditor::Picture', 6646, 'rails.png', '2011-08-08 18:22:54.495721')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [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
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Completed 500 Internal Server Error in 91ms
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb9c925c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6509-1tzqmtd>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (7.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", Wed, 04 Jan 2012 10:48:30 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", Wed, 04 Jan 2012 10:48:30 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb6aef54 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4200-1ahrtq9-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "assetable_id", "type", "created_at", "data_file_size", "assetable_type", "data_content_type") VALUES ('2011-08-08 18:23:15.283183', 'rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:23:15.283183', 6823, NULL, 'application/x-gzip')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
Rendered text template (0.0ms)
-Completed 200 OK in 305ms (Views: 57.8ms | ActiveRecord: 7.8ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 288ms (Views: 2.5ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb06c560 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6509-15juso0>>, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:48: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", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb66352c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-4200-1y93szr-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "assetable_id", "type", "created_at", "data_file_size", "assetable_type", "data_content_type") VALUES ('2011-08-08 18:23:15.347989', 'rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:23:15.347989', 6823, NULL, 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 126ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 46ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:48: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", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "assetable_id", "type", "created_at", "data_file_size", "assetable_type", "data_content_type") VALUES ('2011-08-08 18:23:15.520243', 'rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:23:15.520243', 6823, NULL, 'application/x-gzip')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 171ms (Views: 0.5ms | ActiveRecord: 1.3ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 162ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:48: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", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "assetable_id", "type", "created_at", "data_file_size", "assetable_type", "data_content_type") VALUES ('2011-08-08 18:23:15.641371', 'rails_tar.gz', NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:23:15.641371', 6823, NULL, 'application/x-gzip')[0m
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 500 Internal Server Error in 11ms
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (0.9ms)
-Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb068f8c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6509-1u16eus>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-bssckt.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-bssckt.png[0]' -resize "800>" '/tmp/stream20120104-6509-bssckt20120104-6509-1vwgz2d'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-bssckt.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-bssckt.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6509-bssckt20120104-6509-j8lzeu'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-bssckt.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb335d00 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4200-1s64br9-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "updated_at", "assetable_id", "data_file_size", "type", "data_file_name", "data_content_type") VALUES ('2011-08-08 18:23:15.842083', NULL, '2011-08-08 18:23:15.842083', NULL, 6646, 'Ckeditor::Picture', 'rails.png', 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 146ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb2ab04c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-4200-1ip5mzp-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "updated_at", "assetable_id", "data_file_size", "type", "data_file_name", "data_content_type") VALUES ('2011-08-08 18:23:16.041664', NULL, '2011-08-08 18:23:16.041664', NULL, 6646, 'Ckeditor::Picture', 'rails.png', 'image/png')
+[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 192ms (Views: 2.2ms | ActiveRecord: 1.6ms)
- [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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "updated_at", "assetable_id", "data_file_size", "type", "data_file_name", "data_content_type") VALUES ('2011-08-08 18:23:16.252312', NULL, '2011-08-08 18:23:16.252312', NULL, 6646, 'Ckeditor::Picture', 'rails.png', 'image/png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 200ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "updated_at", "assetable_id", "data_file_size", "type", "data_file_name", "data_content_type") VALUES ('2011-08-08 18:23:16.429795', NULL, '2011-08-08 18:23:16.429795', NULL, 6646, 'Ckeditor::Picture', 'rails.png', 'image/png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 6ms (Views: 4.6ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbf06634 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6509-9xp9c0>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-1ez5hv2.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-1ez5hv2.png[0]' -resize "800>" '/tmp/stream20120104-6509-1ez5hv220120104-6509-129rax4'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-1ez5hv2.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-1ez5hv2.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6509-1ez5hv220120104-6509-17sz14'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-1ez5hv2.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:48:31 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa93dcf8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7504-r97pnm>>, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:27:35.539393', '2011-08-08 18:27:35.539393')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 564ms (Views: 29.3ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5ae3e4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7504-1r3efhb>>}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:27:35.681156', '2011-08-08 18:27:35.681156')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 54ms (Views: 0.5ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 500 Internal Server Error in 33ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:27:35.791746', '2011-08-08 18:27:35.791746')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.6ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 92ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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 16ms (Views: 13.8ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8eab214 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7504-ylvmiv>>, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (1.0ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:27:36.100204', '2011-08-08 18:27:36.100204')
+[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 181ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 226ms (Views: 1.1ms | ActiveRecord: 1.6ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-yq2q1i.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-yq2q1i.png[0]' -resize "800>" '/tmp/stream20120104-6509-yq2q1i20120104-6509-3yuq32'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-yq2q1i.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-yq2q1i.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6509-yq2q1i20120104-6509-1ku4t2p'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-yq2q1i.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:48:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:48:32 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xafb214c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7504-1356zqx>>}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:27:36.322080', '2011-08-08 18:27:36.322080')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 210ms (Views: 0.8ms | ActiveRecord: 1.6ms)
- [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]]
+Completed 200 OK in 144ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-rcmu46.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-rcmu46.png[0]' -resize "800>" '/tmp/stream20120104-6509-rcmu4620120104-6509-1xgfn7r'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-rcmu46.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6509-rcmu46.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6509-rcmu4620120104-6509-123t7ro'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6509-rcmu46.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", Wed, 04 Jan 2012 10:48:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:48:32 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:27:36.510676', '2011-08-08 18:27:36.510676')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
-Completed 500 Internal Server Error in 13ms
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 14ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa9be308 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6609-1g0cj3k>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (9.0ms)[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", Wed, 04 Jan 2012 10:51:13 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", Wed, 04 Jan 2012 10:51:13 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb485f0c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7578-wiakvf>>, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:01.500818', '2011-08-08 18:36:01.500818')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
Rendered text template (0.0ms)
-Completed 200 OK in 299ms (Views: 44.4ms | ActiveRecord: 9.5ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 549ms (Views: 29.3ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5dcf78 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6609-of6iqr>>, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[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", Wed, 04 Jan 2012 10:51:13 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", Wed, 04 Jan 2012 10:51:13 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb0d78b0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7578-44f61>>}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:01.647555', '2011-08-08 18:36:01.647555')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 121ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 60ms (Views: 0.5ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [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')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:51:13 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", Wed, 04 Jan 2012 10:51:13 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:01.736548', '2011-08-08 18:36:01.736548')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 131ms (Views: 0.5ms | ActiveRecord: 1.7ms)
- [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.0ms)[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]]
+Completed 200 OK in 79ms (Views: 0.5ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[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 [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:51:13 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", Wed, 04 Jan 2012 10:51:13 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:01.866778', '2011-08-08 18:36:01.866778')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Completed 302 Found in 92ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc[0m
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (0.8ms)
-Completed 200 OK in 46ms (Views: 44.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
+Completed 200 OK in 16ms (Views: 14.0ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa65edfc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6609-19ebp1p>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-lrhydi.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-lrhydi.png[0]' -resize "800>" '/tmp/stream20120104-6609-lrhydi20120104-6609-1u3fx1e'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-lrhydi.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-lrhydi.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6609-lrhydi20120104-6609-rswvie'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-lrhydi.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xba95eec @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7578-1n75y2i>>, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:02.167263', '2011-08-08 18:36:02.167263')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 199ms (Views: 2.2ms | ActiveRecord: 1.8ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 217ms (Views: 1.0ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaaf7da0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6609-1ij1lhx>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-vvvf10.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-vvvf10.png[0]' -resize "800>" '/tmp/stream20120104-6609-vvvf1020120104-6609-1tkl4tm'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-vvvf10.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-vvvf10.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6609-vvvf1020120104-6609-18uh9rt'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-vvvf10.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbb146e8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7578-18wxnd8>>}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:02.400285', '2011-08-08 18:36:02.400285')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 171ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 156ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-y5n9j3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-y5n9j3.png[0]' -resize "800>" '/tmp/stream20120104-6609-y5n9j320120104-6609-1ufgye5'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-y5n9j3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-y5n9j3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6609-y5n9j320120104-6609-1i49hsi'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-y5n9j3.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:02.600101', '2011-08-08 18:36:02.600101')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 194ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 187ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-1n79w0l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-1n79w0l.png[0]' -resize "800>" '/tmp/stream20120104-6609-1n79w0l20120104-6609-kaheh0'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-1n79w0l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6609-1n79w0l.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6609-1n79w0l20120104-6609-1u4vswb'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6609-1n79w0l.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:51:14 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:02.777194', '2011-08-08 18:36:02.777194')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [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')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 14ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.3ms)
-Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Wed, 04 Jan 2012 10:52:07 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", Wed, 04 Jan 2012 10:52:07 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa86e430 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6693-k55u6v>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[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", Wed, 04 Jan 2012 10:52:07 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", Wed, 04 Jan 2012 10:52:07 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb1e8e98 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7637-hyaoxl>>, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:26.406962', '2011-08-08 18:36:26.406962')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 209ms (Views: 45.6ms | ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 549ms (Views: 29.2ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9fd91a8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6693-e797kl>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:52:08 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", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xae9ae6c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7637-1ejmurd>>}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:26.553330', '2011-08-08 18:36:26.553330')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 115ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 59ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:52:08 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", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:26.672807', '2011-08-08 18:36:26.672807')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 112ms (Views: 0.7ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 110ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[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", Wed, 04 Jan 2012 10:52:08 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", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-08 18:36:26.753325', '2011-08-08 18:36:26.753325')[0m
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 93ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (0.8ms)
-Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.3ms)
+Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1n9hovq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1n9hovq.png[0]' -resize "800>" '/tmp/stream20120104-6693-1n9hovq20120104-6693-14om5w5'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1n9hovq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1n9hovq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6693-1n9hovq20120104-6693-ubu71j'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1n9hovq.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xacf529c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6693-1fjhxwy>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1m44jgp.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1m44jgp.png[0]' -resize "800>" '/tmp/stream20120104-6693-1m44jgp20120104-6693-rzlquq'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1m44jgp.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1m44jgp.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6693-1m44jgp20120104-6693-15v79nn'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1m44jgp.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:52:08 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb8d9c5c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7637-1de60lv>>, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:40.878975', '2011-08-08 18:36:40.878975')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 143ms (Views: 2.2ms | ActiveRecord: 0.9ms)
- [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.0ms)[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]]
+Completed 200 OK in 241ms (Views: 1.1ms | ActiveRecord: 1.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xac1c2d0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6693-10z1v77>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1iteuyw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1iteuyw.png[0]' -resize "800>" '/tmp/stream20120104-6693-1iteuyw20120104-6693-1xu3psi'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1iteuyw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-1iteuyw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6693-1iteuyw20120104-6693-g4cdr4'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-1iteuyw.png[0]'
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb882d6c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7637-1jaql98>>}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:41.078634', '2011-08-08 18:36:41.078634')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 235ms (Views: 0.4ms | ActiveRecord: 1.4ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 179ms (Views: 0.7ms | ActiveRecord: 1.5ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-klifpd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-klifpd.png[0]' -resize "800>" '/tmp/stream20120104-6693-klifpd20120104-6693-gn3kqp'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-klifpd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-klifpd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6693-klifpd20120104-6693-1qcz4mq'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-klifpd.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:41.267053', '2011-08-08 18:36:41.267053')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 151ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 175ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-155lzss.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-155lzss.png[0]' -resize "800>" '/tmp/stream20120104-6693-155lzss20120104-6693-dyaa6a'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-155lzss.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6693-155lzss.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6693-155lzss20120104-6693-cz26cv'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6693-155lzss.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["width", 50]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-08-08 18:36:41.455470', '2011-08-08 18:36:41.455470')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [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')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.3ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 15ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.527512', '2011-08-08 18:36:41.527512')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:52:09 +0200
+Started GET "/posts/new" for 127.0.0.1 at 2011-08-08 21:36:41 +0300
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (7.5ms)
+Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.807466', '2011-08-08 18:36:41.807466')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:52:09 +0200
+Started GET "/posts" for 127.0.0.1 at 2011-08-08 21:36:41 +0300
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.826829', '2011-08-08 18:36:41.826829')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:52:09 +0200
+Started GET "/posts" for 127.0.0.1 at 2011-08-08 21:36:41 +0300
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:52:09 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.842380', '2011-08-08 18:36:41.842380')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:52:09 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at 2011-08-08 21:36:41 +0300
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.0ms)
-Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (6.1ms)
+Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.1ms)[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", Wed, 04 Jan 2012 10:53:23 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", Wed, 04 Jan 2012 10:53:23 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9af838c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6795-1p1fxhu>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:53:23 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", Wed, 04 Jan 2012 10:53:23 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb9ba784 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7936-k3g195-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "updated_at", "created_at", "assetable_type", "data_file_size", "data_content_type", "type", "data_file_name") VALUES (NULL, '2011-08-08 18:38:52.417329', '2011-08-08 18:38:52.417329', NULL, 6823, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 159ms (Views: 47.0ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+Completed 200 OK in 266ms (Views: 2.5ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9256094 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6795-8dqhkb>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.0ms)[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", Wed, 04 Jan 2012 10:53:23 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", Wed, 04 Jan 2012 10:53:23 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb95e754 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110808-7936-1uvk0wx-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "updated_at", "created_at", "assetable_type", "data_file_size", "data_content_type", "type", "data_file_name") VALUES (NULL, '2011-08-08 18:38:52.495131', '2011-08-08 18:38:52.495131', NULL, 6823, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 369ms (Views: 0.7ms | ActiveRecord: 1.2ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 59ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:53:23 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", Wed, 04 Jan 2012 10:53:23 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "updated_at", "created_at", "assetable_type", "data_file_size", "data_content_type", "type", "data_file_name") VALUES (NULL, '2011-08-08 18:38:52.603499', '2011-08-08 18:38:52.603499', NULL, 6823, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 93ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 99ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:24 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "updated_at", "created_at", "assetable_type", "data_file_size", "data_content_type", "type", "data_file_name") VALUES (NULL, '2011-08-08 18:38:52.684005', '2011-08-08 18:38:52.684005', NULL, 6823, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/attachment_files
Completed 302 Found in 12ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (0.8ms)
-Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1uaefzi.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1uaefzi.png[0]' -resize "800>" '/tmp/stream20120104-6795-1uaefzi20120104-6795-wtwupw'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1uaefzi.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1uaefzi.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6795-1uaefzi20120104-6795-hgo9h6'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1uaefzi.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb96ab80 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7936-1u3g8fs-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "created_at", "data_file_size", "type", "data_file_name", "assetable_id", "data_content_type") VALUES (NULL, '2011-08-08 18:39:04.935495', '2011-08-08 18:39:04.935495', 6646, 'Ckeditor::Picture', 'rails.png', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 200 OK in 152ms (Views: 1.0ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa86ebb0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6795-1jfijhv>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-fs258j.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-fs258j.png[0]' -resize "800>" '/tmp/stream20120104-6795-fs258j20120104-6795-1mlbr5p'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-fs258j.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-fs258j.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6795-fs258j20120104-6795-yaa5uw'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-fs258j.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb79c3e4 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110808-7936-tpii7f-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "created_at", "data_file_size", "type", "data_file_name", "assetable_id", "data_content_type") VALUES (NULL, '2011-08-08 18:39:05.124070', '2011-08-08 18:39:05.124070', 6646, 'Ckeditor::Picture', 'rails.png', NULL, 'image/png')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 142ms (Views: 2.2ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 175ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa81b898 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6795-x8osby>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1r5ig0w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1r5ig0w.png[0]' -resize "800>" '/tmp/stream20120104-6795-1r5ig0w20120104-6795-kj2h1i'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1r5ig0w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1r5ig0w.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6795-1r5ig0w20120104-6795-1pky7k8'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1r5ig0w.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "created_at", "data_file_size", "type", "data_file_name", "assetable_id", "data_content_type") VALUES (NULL, '2011-08-08 18:39:05.323648', '2011-08-08 18:39:05.323648', 6646, 'Ckeditor::Picture', 'rails.png', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 243ms (Views: 0.4ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "created_at", "data_file_size", "type", "data_file_name", "assetable_id", "data_content_type") VALUES (NULL, '2011-08-08 18:39:05.512074', '2011-08-08 18:39:05.512074', 6646, 'Ckeditor::Picture', 'rails.png', NULL, 'image/png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1pylizx.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1pylizx.png[0]' -resize "800>" '/tmp/stream20120104-6795-1pylizx20120104-6795-g06rlj'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1pylizx.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-1pylizx.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6795-1pylizx20120104-6795-12hr0vc'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-1pylizx.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "info", "content", "updated_at") VALUES ('test', '2011-08-08 18:39:05.566029', 'info', 'content', '2011-08-08 18:39:05.566029')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Mon Aug 08 21:39:05 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.6ms)
+Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "info", "content", "updated_at") VALUES ('test', '2011-08-08 18:39:05.604167', 'info', 'content', '2011-08-08 18:39:05.604167')
+
+
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 21:39:05 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "created_at", "info", "content", "updated_at") VALUES ('test', '2011-08-08 18:39:05.620823', 'info', 'content', '2011-08-08 18:39:05.620823')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Mon Aug 08 21:39:05 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "info", "content", "updated_at") VALUES ('test', '2011-08-08 18:39:05.728717', 'info', 'content', '2011-08-08 18:39:05.728717')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Mon Aug 08 21:39:05 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.1ms)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb56dc1c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3631-sl4qzt-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "created_at", "assetable_type", "assetable_id", "data_content_type", "type", "data_file_name") VALUES (6823, '2011-08-14 10:33:22.632236', '2011-08-14 10:33:22.632236', NULL, NULL, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 493ms (Views: 2.9ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb534cc8 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3631-eepikg-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "created_at", "assetable_type", "assetable_id", "data_content_type", "type", "data_file_name") VALUES (6823, '2011-08-14 10:33:22.783111', '2011-08-14 10:33:22.783111', NULL, NULL, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 78ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "created_at", "assetable_type", "assetable_id", "data_content_type", "type", "data_file_name") VALUES (6823, '2011-08-14 10:33:22.887151', '2011-08-14 10:33:22.887151', NULL, NULL, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 93ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "created_at", "assetable_type", "assetable_id", "data_content_type", "type", "data_file_name") VALUES (6823, '2011-08-14 10:33:22.979085', '2011-08-14 10:33:22.979085', NULL, NULL, 'application/x-gzip', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 14ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.2ms)
+Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb518c6c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3631-uye5bv-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_type", "assetable_id", "data_file_size", "type", "data_content_type", "updated_at", "created_at") VALUES ('rails.png', NULL, NULL, 6646, 'Ckeditor::Picture', 'image/png', '2011-08-14 10:34:22.572037', '2011-08-14 10:34:22.572037')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 179ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [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 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]]
+Completed 200 OK in 339ms (Views: 1.0ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb34861c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3631-rolgg7-0>, @content_type="image/png">}
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_type", "assetable_id", "data_file_size", "type", "data_content_type", "updated_at", "created_at") VALUES ('rails.png', NULL, NULL, 6646, 'Ckeditor::Picture', 'image/png', '2011-08-14 10:34:22.793371', '2011-08-14 10:34:22.793371')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 208ms (Views: 0.6ms | ActiveRecord: 1.5ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-14hq1f3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-14hq1f3.png[0]' -resize "800>" '/tmp/stream20120104-6795-14hq1f320120104-6795-1flxjd8'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-14hq1f3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6795-14hq1f3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6795-14hq1f320120104-6795-g7lgiw'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6795-14hq1f3.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:53: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", Wed, 04 Jan 2012 10:53:25 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_type", "assetable_id", "data_file_size", "type", "data_content_type", "updated_at", "created_at") VALUES ('rails.png', NULL, NULL, 6646, 'Ckeditor::Picture', 'image/png', '2011-08-14 10:34:22.970594', '2011-08-14 10:34:22.970594')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 164ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_type", "assetable_id", "data_file_size", "type", "data_content_type", "updated_at", "created_at") VALUES ('rails.png', NULL, NULL, 6646, 'Ckeditor::Picture', 'image/png', '2011-08-14 10:34:23.226657', '2011-08-14 10:34:23.226657')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.3ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[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')
+Completed 302 Found in 28ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.7ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.300830', '2011-08-14 10:34:23.300830', 'test')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:53:25 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:34:23 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:53:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.6ms)
+Completed 200 OK in 141ms (Views: 140.1ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.730229', '2011-08-14 10:34:23.730229', 'test')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:53:25 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:34:23 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:53:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.747411', '2011-08-14 10:34:23.747411', 'test')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:53:25 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:34:23 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:53:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.762059', '2011-08-14 10:34:23.762059', 'test')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:53:25 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:34:23 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.0ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (6.9ms)[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", Wed, 04 Jan 2012 10:54:48 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", Wed, 04 Jan 2012 10:54:48 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /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 [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" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6d6ce4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6897-1g4qsh1>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:54:48 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", Wed, 04 Jan 2012 10:54:48 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa34d474 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3675-1i3ijv5-0>, @content_type="application/x-gzip">}
+Completed 500 Internal Server Error in 11ms
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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 (9.2ms)
+Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 2.8ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 500 Internal Server Error in 1ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3a3068 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3675-dbndvb-0>, @content_type="image/png">}
+Completed 500 Internal Server Error in 6ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+Completed 500 Internal Server Error in 1ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 2.1ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 500 Internal Server Error in 1ms
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "posts" ("updated_at", "info", "title", "created_at", "content") VALUES ('2011-08-14 10:35:40.649814', 'info', 'test', '2011-08-14 10:35:40.649814', 'content')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:35:40 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (125.2ms)
+Completed 200 OK in 135ms (Views: 134.1ms | ActiveRecord: 1.0ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "info", "title", "created_at", "content") VALUES ('2011-08-14 10:35:40.809200', 'info', 'test', '2011-08-14 10:35:40.809200', 'content')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:35:40 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "info", "title", "created_at", "content") VALUES ('2011-08-14 10:35:40.825226', 'info', 'test', '2011-08-14 10:35:40.825226', 'content')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:35:40 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "info", "title", "created_at", "content") VALUES ('2011-08-14 10:35:40.839501', 'info', 'test', '2011-08-14 10:35:40.839501', 'content')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:35:40 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.4ms)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m select sqlite_version(*)
+ [1m[36mSQL (163.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36mSQL (68.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
+Migrating to CreatePosts (20110623120047)
+ [1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "data" varchar(255), "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")[0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('idx_ckeditor_assetable_type')[0m
+ [1m[35mSQL (0.2ms)[0m CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')[0m
+ [1m[35mSQL (0.3ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.359983', NULL, '2011-08-14 10:39:38.359983', NULL, NULL, '--- !ruby/object:File {}
+
+', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.359983', NULL, '2011-08-14 10:39:38.359983', NULL, NULL, '--- !ruby/object:File {}
+
+', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)
+Completed 500 Internal Server Error in 22ms
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.371929', NULL, '2011-08-14 10:39:38.371929', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.371929', NULL, '2011-08-14 10:39:38.371929', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.6ms)
+Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 237.3ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.411453', NULL, '2011-08-14 10:39:38.411453', NULL, NULL, NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("created_at", "assetable_id", "updated_at", "width", "data_file_size", "data", "data_content_type", "height", "type", "assetable_type", "data_file_name") VALUES ('2011-08-14 10:39:38.411453', NULL, '2011-08-14 10:39:38.411453', NULL, NULL, NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL)
+Completed 500 Internal Server Error in 3ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xad70848 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3724-7ttcw1-0>, @content_type="image/png">}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:24.992395', NULL, '2011-08-14 10:40:24.992395')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:24.992395', NULL, '2011-08-14 10:40:24.992395')
+Completed 500 Internal Server Error in 11ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.005615', NULL, '2011-08-14 10:40:25.005615')
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.005615', NULL, '2011-08-14 10:40:25.005615')
+Completed 500 Internal Server Error in 3ms
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.010372', NULL, '2011-08-14 10:40:25.010372')
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES ('--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.010372', NULL, '2011-08-14 10:40:25.010372')
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[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" = '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 8ms (Views: 6.7ms | ActiveRecord: 4.2ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.033396', NULL, '2011-08-14 10:40:25.033396')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("data", "height", "assetable_id", "assetable_type", "width", "data_content_type", "data_file_size", "type", "created_at", "data_file_name", "updated_at") VALUES (NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ckeditor::Picture', '2011-08-14 10:40:25.033396', NULL, '2011-08-14 10:40:25.033396')
+Completed 500 Internal Server Error in 3ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.3ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "title", "content") VALUES ('2011-08-14 10:40:25.042402', '2011-08-14 10:40:25.042402', 'info', 'test', 'content')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:40:25 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (7.0ms)
+Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 1.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "title", "content") VALUES ('2011-08-14 10:40:25.083497', '2011-08-14 10:40:25.083497', 'info', 'test', 'content')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:40:25 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "info", "title", "content") VALUES ('2011-08-14 10:40:25.099898', '2011-08-14 10:40:25.099898', 'info', 'test', 'content')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:40:25 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "title", "content") VALUES ('2011-08-14 10:40:25.114619', '2011-08-14 10:40:25.114619', 'info', 'test', 'content')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:40:25 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.9ms)
+Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa9caf54 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3748-8mgl4n-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "width", "assetable_id", "updated_at", "height", "assetable_type", "type", "data_content_type", "data_file_size", "data", "created_at") VALUES ('rails_tar.gz', NULL, NULL, '2011-08-14 10:42:03.974195', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', 6823, NULL, '2011-08-14 10:42:03.974195')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 166ms (Views: 50.0ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 289ms (Views: 2.7ms | ActiveRecord: 2.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa6091b8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-6897-i58wn>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:54:48 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", Wed, 04 Jan 2012 10:54:48 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa98dd70 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3748-1nqcj81-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "assetable_id", "updated_at", "height", "assetable_type", "type", "data_content_type", "data_file_size", "data", "created_at") VALUES ('rails_tar.gz', NULL, NULL, '2011-08-14 10:42:04.051520', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', 6823, NULL, '2011-08-14 10:42:04.051520')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 152ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:54:48 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", Wed, 04 Jan 2012 10:54:48 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "width", "assetable_id", "updated_at", "height", "assetable_type", "type", "data_content_type", "data_file_size", "data", "created_at") VALUES ('rails_tar.gz', NULL, NULL, '2011-08-14 10:42:04.138459', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', 6823, NULL, '2011-08-14 10:42:04.138459')[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 133ms (Views: 0.5ms | ActiveRecord: 1.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 77ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:54:48 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", Wed, 04 Jan 2012 10:54:48 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "width", "assetable_id", "updated_at", "height", "assetable_type", "type", "data_content_type", "data_file_size", "data", "created_at") VALUES ('rails_tar.gz', NULL, NULL, '2011-08-14 10:42:04.220098', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', 6823, NULL, '2011-08-14 10:42:04.220098')[0m
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/attachment_files
Completed 302 Found in 13ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (0.9ms)
-Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
+Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-mpwnta.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-mpwnta.png[0]' -resize "800>" '/tmp/stream20120104-6897-mpwnta20120104-6897-1e7p6sv'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-mpwnta.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-mpwnta.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6897-mpwnta20120104-6897-1a0txtj'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-mpwnta.png[0]'
- [1m[35mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.5ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa98ce20 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3748-1klvh2o-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "updated_at", "data_file_name", "created_at", "assetable_type", "data", "height", "type") VALUES ('image/png', 50, NULL, 6646, '2011-08-14 10:42:49.585633', 'rails.png', '2011-08-14 10:42:49.585633', NULL, NULL, 64, 'Ckeditor::Picture')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 198ms (Views: 1.0ms | ActiveRecord: 1.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa7a484c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3748-q2s3u8-0>, @content_type="image/png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "updated_at", "data_file_name", "created_at", "assetable_type", "data", "height", "type") VALUES ('image/png', 50, NULL, 6646, '2011-08-14 10:42:49.797057', 'rails.png', '2011-08-14 10:42:49.797057', NULL, NULL, 64, 'Ckeditor::Picture')
+[paperclip] Saving attachments.
[paperclip] saving /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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 197ms (Views: 0.6ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb392a64 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6897-sktxs4>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1ncvp65.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-1ncvp65.png[0]' -resize "800>" '/tmp/stream20120104-6897-1ncvp6520120104-6897-1k0zij'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1ncvp65.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-1ncvp65.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6897-1ncvp6520120104-6897-oqukec'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1ncvp65.png[0]'
- [1m[35mSQL (0.9ms)[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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "updated_at", "data_file_name", "created_at", "assetable_type", "data", "height", "type") VALUES ('image/png', 50, NULL, 6646, '2011-08-14 10:42:49.996498', 'rails.png', '2011-08-14 10:42:49.996498', NULL, NULL, 64, 'Ckeditor::Picture')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.4ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "updated_at", "data_file_name", "created_at", "assetable_type", "data", "height", "type") VALUES ('image/png', 50, NULL, 6646, '2011-08-14 10:42:50.209900', 'rails.png', '2011-08-14 10:42:50.209900', NULL, NULL, 64, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 179ms (Views: 2.3ms | ActiveRecord: 1.1ms)
- [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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "posts" ("info", "created_at", "title", "content", "updated_at") VALUES ('info', '2011-08-14 10:42:50.267500', 'test', 'content', '2011-08-14 10:42:50.267500')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:42:50 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.6ms)
+Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.9ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "created_at", "title", "content", "updated_at") VALUES ('info', '2011-08-14 10:42:50.307064', 'test', 'content', '2011-08-14 10:42:50.307064')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:42:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "posts" ("info", "created_at", "title", "content", "updated_at") VALUES ('info', '2011-08-14 10:42:50.423645', 'test', 'content', '2011-08-14 10:42:50.423645')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:42:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.8ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "created_at", "title", "content", "updated_at") VALUES ('info', '2011-08-14 10:42:50.439934', 'test', 'content', '2011-08-14 10:42:50.439934')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:42:50 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.7ms)
+Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.8ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaacb5d4 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3812-sd1i0s-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.816555', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.816555', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+')
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.816555', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.816555', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+')
+Completed 500 Internal Server Error in 22ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.834698', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.834698', NULL, NULL, '--- !ruby/object:File {}
+
+')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.834698', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.834698', NULL, NULL, '--- !ruby/object:File {}
+
+')
+Completed 500 Internal Server Error in 3ms
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.839391', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.839391', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.839391', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.839391', NULL, NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: application/x-gzip
+original_filename: rails.tar.gz
+tempfile: !ruby/object:File {}
+
+')
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (5.1ms)
+Completed 200 OK in 23ms (Views: 21.5ms | ActiveRecord: 3.9ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.876357', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.876357', NULL, NULL, NULL)
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("width", "created_at", "height", "type", "data_content_type", "assetable_type", "data_file_size", "updated_at", "assetable_id", "data_file_name", "data") VALUES (NULL, '2011-08-14 10:42:58.876357', NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, '2011-08-14 10:42:58.876357', NULL, NULL, NULL)
+Completed 500 Internal Server Error in 3ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xab1ee78 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3812-q1b8nd-0>, @content_type="image/png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.415376', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.415376')
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.415376', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.415376')
+Completed 500 Internal Server Error in 11ms
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.427000', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.427000')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.427000', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.427000')
+Completed 500 Internal Server Error in 3ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.431890', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.431890')[0m
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.431890', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '--- !ruby/object:Rack::Test::UploadedFile
+content_type: image/png
+original_filename: rails.png
+tempfile: !ruby/object:File {}
+
+', NULL, NULL, NULL, '2011-08-14 10:43:48.431890')
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 8ms (Views: 6.6ms | ActiveRecord: 4.1ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.454343', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, NULL, NULL, NULL, '2011-08-14 10:43:48.454343')
+SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: INSERT INTO "ckeditor_assets" ("updated_at", "data_file_name", "width", "height", "type", "data_file_size", "data", "assetable_type", "data_content_type", "assetable_id", "created_at") VALUES ('2011-08-14 10:43:48.454343', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, NULL, NULL, NULL, '2011-08-14 10:43:48.454343')
+Completed 500 Internal Server Error in 3ms
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.7ms)[0m INSERT INTO "posts" ("created_at", "content", "title", "info", "updated_at") VALUES ('2011-08-14 10:43:48.463648', 'content', 'test', 'info', '2011-08-14 10:43:48.463648')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:43:48 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.3ms)
+Completed 200 OK in 87ms (Views: 85.8ms | ActiveRecord: 1.9ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "content", "title", "info", "updated_at") VALUES ('2011-08-14 10:43:48.572875', 'content', 'test', 'info', '2011-08-14 10:43:48.572875')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:43:48 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "posts" ("created_at", "content", "title", "info", "updated_at") VALUES ('2011-08-14 10:43:48.589038', 'content', 'test', 'info', '2011-08-14 10:43:48.589038')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:43:48 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.8ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "posts" ("created_at", "content", "title", "info", "updated_at") VALUES ('2011-08-14 10:43:48.604407', 'content', 'test', 'info', '2011-08-14 10:43:48.604407')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:43:48 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.2ms)
+Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m select sqlite_version(*)
+ [1m[36mSQL (109.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36mSQL (68.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
+Migrating to CreatePosts (20110623120047)
+ [1m[36mSQL (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "data" varchar(255), "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.0ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")[0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("ckeditor_assets")
+ [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_info('idx_ckeditor_assetable_type')[0m
+ [1m[35mSQL (0.2ms)[0m CREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110705195648')[0m
+ [1m[35mSQL (0.3ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbf05d60 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3828-vanrz-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+Rendered text template (0.0ms)
+Completed 200 OK in 32ms (Views: 2.9ms | ActiveRecord: 181.4ms)
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbc39410 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3828-cjrsbj-0>, @content_type="application/x-gzip">}
+Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.7ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 200 OK in 54ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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 (4.6ms)
+Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 1.1ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_content_type", "data", "type", "data_file_name", "width", "height", "assetable_id", "updated_at", "assetable_type", "data_file_size") VALUES ('2011-08-14 10:44:10.633751', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, '2011-08-14 10:44:10.633751', NULL, NULL)[0m
+Completed 500 Internal Server Error in 7ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbf9832c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3828-10f1t27-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data", "created_at", "width", "data_file_size", "updated_at", "data_file_name", "data_content_type", "type") VALUES (NULL, NULL, NULL, 'rails.png', '2011-08-14 10:44:55.119241', NULL, NULL, '2011-08-14 10:44:55.119241', NULL, NULL, 'Ckeditor::Picture')
+Completed 200 OK in 763ms (Views: 1.1ms | ActiveRecord: 2.0ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbea1db0 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3828-1q654jc-0>, @content_type="image/png">}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data", "created_at", "width", "data_file_size", "updated_at", "data_file_name", "data_content_type", "type") VALUES (NULL, NULL, NULL, 'rails.png', '2011-08-14 10:44:55.955966', NULL, NULL, '2011-08-14 10:44:55.955966', NULL, NULL, 'Ckeditor::Picture')[0m
+Completed 200 OK in 823ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data", "created_at", "width", "data_file_size", "updated_at", "data_file_name", "data_content_type", "type") VALUES (NULL, NULL, NULL, 'rails.png', '2011-08-14 10:44:56.876523', NULL, NULL, '2011-08-14 10:44:56.876523', NULL, NULL, 'Ckeditor::Picture')
+Completed 200 OK in 911ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data", "created_at", "width", "data_file_size", "updated_at", "data_file_name", "data_content_type", "type") VALUES (NULL, NULL, NULL, 'rails.png', '2011-08-14 10:44:57.618403', NULL, NULL, '2011-08-14 10:44:57.618403', NULL, NULL, 'Ckeditor::Picture')
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[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" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data", "created_at", "width", "data_file_size", "updated_at", "data_file_name", "data_content_type", "type") VALUES (NULL, NULL, NULL, NULL, '2011-08-14 10:44:57.663855', NULL, NULL, '2011-08-14 10:44:57.663855', NULL, NULL, 'Ckeditor::Picture')[0m
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.3ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("created_at", "info", "updated_at", "title", "content") VALUES ('2011-08-14 10:44:57.680214', 'info', '2011-08-14 10:44:57.680214', 'test', 'content')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:44:57 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (7.0ms)
+Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 1.2ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "info", "updated_at", "title", "content") VALUES ('2011-08-14 10:44:57.719798', 'info', '2011-08-14 10:44:57.719798', 'test', 'content')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:44:57 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 139ms (Views: 137.1ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("created_at", "info", "updated_at", "title", "content") VALUES ('2011-08-14 10:44:57.868219', 'info', '2011-08-14 10:44:57.868219', 'test', 'content')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:44:57 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "info", "updated_at", "title", "content") VALUES ('2011-08-14 10:44:57.883559', 'info', '2011-08-14 10:44:57.883559', 'test', 'content')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:44:57 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.2ms)
+Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbe45d08 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3995-1qk8w5x-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+Rendered text template (0.0ms)
+Completed 200 OK in 30ms (Views: 2.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbb816bc @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-3995-1g6orut-0>, @content_type="application/x-gzip">}
+Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 200 OK in 64ms (Views: 0.5ms | ActiveRecord: 0.7ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.3ms)
+Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 1.0ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "data", "width", "assetable_id", "assetable_type", "data_content_type", "data_file_size", "data_file_name", "created_at", "height", "type") VALUES ('2011-08-14 10:57:43.641300', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 10:57:43.641300', NULL, 'Ckeditor::AttachmentFile')
+Completed 500 Internal Server Error in 6ms
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbe31290 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3995-xsyuw8-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_size", "assetable_type", "height", "width", "data_file_name", "assetable_id", "data", "created_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-08-14 10:58:31.865298', NULL, NULL, NULL, NULL, NULL, NULL, 'rails.png', '2011-08-14 10:58:31.865298', NULL)
+Completed 200 OK in 857ms (Views: 1.0ms | ActiveRecord: 1.9ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbe93698 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-3995-1y1u0ta-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_size", "assetable_type", "height", "width", "data_file_name", "assetable_id", "data", "created_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-08-14 10:58:32.653333', NULL, NULL, NULL, NULL, NULL, NULL, 'rails.png', '2011-08-14 10:58:32.653333', NULL)[0m
+Completed 200 OK in 778ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_size", "assetable_type", "height", "width", "data_file_name", "assetable_id", "data", "created_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-08-14 10:58:33.412790', NULL, NULL, NULL, NULL, NULL, NULL, 'rails.png', '2011-08-14 10:58:33.412790', NULL)
+Completed 200 OK in 872ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_size", "assetable_type", "height", "width", "data_file_name", "assetable_id", "data", "created_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-08-14 10:58:34.390283', NULL, NULL, NULL, NULL, NULL, NULL, 'rails.png', '2011-08-14 10:58:34.390283', NULL)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[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" = '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.7ms)
+Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "updated_at", "data_file_size", "assetable_type", "height", "width", "data_file_name", "assetable_id", "data", "created_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-08-14 10:58:34.435884', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 10:58:34.435884', NULL)[0m
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.8ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-08-14 10:58:34.450917', '2011-08-14 10:58:34.450917', 'test', 'content', 'info')[0m
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 13:58:34 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (7.2ms)
+Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.8ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-08-14 10:58:34.492310', '2011-08-14 10:58:34.492310', 'test', 'content', 'info')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:58:34 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-08-14 10:58:34.509116', '2011-08-14 10:58:34.509116', 'test', 'content', 'info')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 13:58:34 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-08-14 10:58:34.524164', '2011-08-14 10:58:34.524164', 'test', 'content', 'info')[0m
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 13:58:34 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1
+Rendered posts/_form.html.erb (5.9ms)
+Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa0d16f0 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4078-m0138e-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+Rendered text template (0.0ms)
+Completed 200 OK in 30ms (Views: 2.6ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9e19e94 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4078-1ln4dgq-0>, @content_type="application/x-gzip">}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 200 OK in 53ms (Views: 0.5ms | ActiveRecord: 0.5ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.5ms)
+Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.9ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_name", "data_file_size", "data", "assetable_id", "width", "updated_at", "assetable_type", "created_at", "height", "data_content_type") VALUES ('Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, '2011-08-14 10:58:47.178794', NULL, '2011-08-14 10:58:47.178794', NULL, NULL)
+Completed 500 Internal Server Error in 6ms
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9d073bc @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4078-f6u9x3-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "height", "updated_at", "data", "type", "created_at", "assetable_id", "data_file_name", "data_content_type", "width", "assetable_type") VALUES (NULL, NULL, '2011-08-14 10:58:48.060918', 'rails.png', 'Ckeditor::Picture', '2011-08-14 10:58:48.060918', NULL, NULL, NULL, NULL, NULL)
+Completed 200 OK in 866ms (Views: 1.1ms | ActiveRecord: 2.0ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa107444 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4078-s2ojsg-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "height", "updated_at", "data", "type", "created_at", "assetable_id", "data_file_name", "data_content_type", "width", "assetable_type") VALUES (NULL, NULL, '2011-08-14 10:58:48.802469', 'rails.png', 'Ckeditor::Picture', '2011-08-14 10:58:48.802469', NULL, NULL, NULL, NULL, NULL)[0m
+Completed 200 OK in 729ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "height", "updated_at", "data", "type", "created_at", "assetable_id", "data_file_name", "data_content_type", "width", "assetable_type") VALUES (NULL, NULL, '2011-08-14 10:58:49.562924', 'rails.png', 'Ckeditor::Picture', '2011-08-14 10:58:49.562924', NULL, NULL, NULL, NULL, NULL)
+Completed 200 OK in 825ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "height", "updated_at", "data", "type", "created_at", "assetable_id", "data_file_name", "data_content_type", "width", "assetable_type") VALUES (NULL, NULL, '2011-08-14 10:58:50.376781', 'rails.png', 'Ckeditor::Picture', '2011-08-14 10:58:50.376781', NULL, NULL, NULL, NULL, NULL)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[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" = '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 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "height", "updated_at", "data", "type", "created_at", "assetable_id", "data_file_name", "data_content_type", "width", "assetable_type") VALUES (NULL, NULL, '2011-08-14 10:58:50.420826', NULL, 'Ckeditor::Picture', '2011-08-14 10:58:50.420826', NULL, NULL, NULL, NULL, NULL)[0m
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.8ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbd8c740 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4164-14ijzq2-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+Completed 500 Internal Server Error in 98ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbadf3d0 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4164-1cnbdcq-0>, @content_type="application/x-gzip">}
+Completed 500 Internal Server Error in 6ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+Completed 500 Internal Server Error in 53ms
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (4.6ms)
+Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 2.9ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "width", "height", "type", "created_at", "data_file_name", "assetable_type", "data", "data_file_size", "updated_at") VALUES (NULL, NULL, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-14 11:01:03.797916', NULL, NULL, NULL, NULL, '2011-08-14 11:01:03.797916')[0m
+Completed 500 Internal Server Error in 7ms
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb9e56dc @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4164-51jbg-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "assetable_id", "width", "type", "data_file_name", "data_content_type", "created_at", "data", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, '2011-08-14 11:01:04.673206', 'rails.png', '2011-08-14 11:01:04.673206', NULL, NULL)[0m
+Completed 200 OK in 862ms (Views: 2.5ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbdbcfe4 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4164-148o0x9-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_id", "width", "type", "data_file_name", "data_content_type", "created_at", "data", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, '2011-08-14 11:01:05.440325', 'rails.png', '2011-08-14 11:01:05.440325', NULL, NULL)
+Completed 200 OK in 753ms (Views: 0.6ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "assetable_id", "width", "type", "data_file_name", "data_content_type", "created_at", "data", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, '2011-08-14 11:01:06.446065', 'rails.png', '2011-08-14 11:01:06.446065', NULL, NULL)[0m
+Completed 200 OK in 996ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "assetable_id", "width", "type", "data_file_name", "data_content_type", "created_at", "data", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, '2011-08-14 11:01:07.207614', 'rails.png', '2011-08-14 11:01:07.207614', NULL, NULL)[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 6ms (Views: 4.6ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_id", "width", "type", "data_file_name", "data_content_type", "created_at", "data", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::Picture', NULL, NULL, '2011-08-14 11:01:07.250084', NULL, '2011-08-14 11:01:07.250084', NULL, NULL)
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.7ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb468740 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4249-zk6seh-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_size", "data", "type", "data_content_type", "assetable_type", "width", "assetable_id", "height", "data_file_name", "updated_at") VALUES ('2011-08-14 11:01:36.898642', NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:36.898642')[0m
+Rendered text template (0.0ms)
+Completed 200 OK in 32ms (Views: 2.4ms | ActiveRecord: 1.8ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb201b00 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4249-1yp6tg7-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_size", "data", "type", "data_content_type", "assetable_type", "width", "assetable_id", "height", "data_file_name", "updated_at") VALUES ('2011-08-14 11:01:36.921564', NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:36.921564')
+Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_size", "data", "type", "data_content_type", "assetable_type", "width", "assetable_id", "height", "data_file_name", "updated_at") VALUES ('2011-08-14 11:01:36.965870', NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:36.965870')[0m
+Completed 200 OK in 36ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_size", "data", "type", "data_content_type", "assetable_type", "width", "assetable_id", "height", "data_file_name", "updated_at") VALUES ('2011-08-14 11:01:36.977872', NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:36.977872')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.6ms)
+Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_size", "data", "type", "data_content_type", "assetable_type", "width", "assetable_id", "height", "data_file_name", "updated_at") VALUES ('2011-08-14 11:01:37.030719', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:37.030719')
+Completed 500 Internal Server Error in 4ms
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0e2724 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4249-or232u-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "width", "data", "assetable_id", "data_file_size", "data_content_type", "updated_at", "data_file_name", "height", "type") VALUES (NULL, '2011-08-14 11:01:37.897562', NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:01:37.897562', NULL, NULL, 'Ckeditor::Picture')
+Completed 200 OK in 736ms (Views: 1.0ms | ActiveRecord: 1.7ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb42b868 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4249-8lhyve-0>, @content_type="image/png">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "width", "data", "assetable_id", "data_file_size", "data_content_type", "updated_at", "data_file_name", "height", "type") VALUES (NULL, '2011-08-14 11:01:38.636366', NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:01:38.636366', NULL, NULL, 'Ckeditor::Picture')[0m
+Completed 200 OK in 728ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "width", "data", "assetable_id", "data_file_size", "data_content_type", "updated_at", "data_file_name", "height", "type") VALUES (NULL, '2011-08-14 11:01:39.508092', NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:01:39.508092', NULL, NULL, 'Ckeditor::Picture')
+Completed 200 OK in 863ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "width", "data", "assetable_id", "data_file_size", "data_content_type", "updated_at", "data_file_name", "height", "type") VALUES (NULL, '2011-08-14 11:01:40.228545', NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:01:40.228545', NULL, NULL, 'Ckeditor::Picture')
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "width", "data", "assetable_id", "data_file_size", "data_content_type", "updated_at", "data_file_name", "height", "type") VALUES (NULL, '2011-08-14 11:01:40.269423', NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:01:40.269423', NULL, NULL, 'Ckeditor::Picture')[0m
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb37c750 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4345-1yt8fhc-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "height", "assetable_type", "data_file_size", "updated_at", "width", "type", "data", "data_content_type", "created_at") VALUES (NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:05:42.423839', NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', NULL, '2011-08-14 11:05:42.423839')[0m
+Rendered text template (0.0ms)
+Completed 200 OK in 31ms (Views: 2.4ms | ActiveRecord: 1.8ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb118ae0 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4345-11bj46t-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "height", "assetable_type", "data_file_size", "updated_at", "width", "type", "data", "data_content_type", "created_at") VALUES (NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:05:42.445408', NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', NULL, '2011-08-14 11:05:42.445408')
+Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 1.0ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "height", "assetable_type", "data_file_size", "updated_at", "width", "type", "data", "data_content_type", "created_at") VALUES (NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:05:42.486249', NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', NULL, '2011-08-14 11:05:42.486249')[0m
+Completed 200 OK in 33ms (Views: 0.5ms | ActiveRecord: 1.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "height", "assetable_type", "data_file_size", "updated_at", "width", "type", "data", "data_content_type", "created_at") VALUES (NULL, NULL, NULL, NULL, NULL, '2011-08-14 11:05:42.498708', NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', NULL, '2011-08-14 11:05:42.498708')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.4ms)
+Completed 200 OK in 20ms (Views: 18.0ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0ba97c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4345-4f3v3u-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "data_content_type", "assetable_type", "type", "data", "width", "updated_at", "data_file_size", "assetable_id", "created_at") VALUES (NULL, NULL, NULL, NULL, 'Ckeditor::Picture', 'rails.png', NULL, '2011-08-14 11:05:43.369422', NULL, NULL, '2011-08-14 11:05:43.369422')[0m
+Completed 200 OK in 733ms (Views: 1.0ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb311ae0 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4345-308f9j-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "data_file_name", "data_content_type", "assetable_type", "type", "data", "width", "updated_at", "data_file_size", "assetable_id", "created_at") VALUES (NULL, NULL, NULL, NULL, 'Ckeditor::Picture', 'rails.png', NULL, '2011-08-14 11:05:44.103316', NULL, NULL, '2011-08-14 11:05:44.103316')
+Completed 200 OK in 723ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "data_content_type", "assetable_type", "type", "data", "width", "updated_at", "data_file_size", "assetable_id", "created_at") VALUES (NULL, NULL, NULL, NULL, 'Ckeditor::Picture', 'rails.png', NULL, '2011-08-14 11:05:45.036966', NULL, NULL, '2011-08-14 11:05:45.036966')[0m
+Completed 200 OK in 924ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "data_content_type", "assetable_type", "type", "data", "width", "updated_at", "data_file_size", "assetable_id", "created_at") VALUES (NULL, NULL, NULL, NULL, 'Ckeditor::Picture', 'rails.png', NULL, '2011-08-14 11:05:45.795444', NULL, NULL, '2011-08-14 11:05:45.795444')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 9ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb8a2f18 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4429-1g7g3as-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "type", "data_content_type", "updated_at", "data", "data_file_name", "assetable_type", "created_at", "assetable_id", "data_file_size", "width") VALUES (NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-14 11:06:04.624167', NULL, 'rails_tar.gz', NULL, '2011-08-14 11:06:04.624167', NULL, 6823, NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 307ms (Views: 2.5ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb86ec7c @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4429-asgs89-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "data_content_type", "updated_at", "data", "data_file_name", "assetable_type", "created_at", "assetable_id", "data_file_size", "width") VALUES (NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-14 11:06:04.695168', NULL, 'rails_tar.gz', NULL, '2011-08-14 11:06:04.695168', NULL, 6823, NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 52ms (Views: 0.5ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "type", "data_content_type", "updated_at", "data", "data_file_name", "assetable_type", "created_at", "assetable_id", "data_file_size", "width") VALUES (NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-14 11:06:04.795251', NULL, 'rails_tar.gz', NULL, '2011-08-14 11:06:04.795251', NULL, 6823, NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 92ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "type", "data_content_type", "updated_at", "data", "data_file_name", "assetable_type", "created_at", "assetable_id", "data_file_size", "width") VALUES (NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-14 11:06:04.864627', NULL, 'rails_tar.gz', NULL, '2011-08-14 11:06:04.864627', NULL, 6823, NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.2ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb8673dc @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4429-biypxj-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "updated_at", "data_file_size", "data", "created_at", "assetable_id", "type", "assetable_type", "data_content_type", "width", "height") VALUES ('rails.png', '2011-08-14 11:06:49.354512', 6646, NULL, '2011-08-14 11:06:49.354512', NULL, 'Ckeditor::Picture', NULL, 'image/png', 50, 64)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 192ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb341060 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-6897-6oxrzh>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1lbonwe.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-1lbonwe.png[0]' -resize "800>" '/tmp/stream20120104-6897-1lbonwe20120104-6897-1glpm89'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1lbonwe.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-1lbonwe.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6897-1lbonwe20120104-6897-2x61em'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-1lbonwe.png[0]'
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb68b9f0 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4429-10qt22s-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "updated_at", "data_file_size", "data", "created_at", "assetable_id", "type", "assetable_type", "data_content_type", "width", "height") VALUES ('rails.png', '2011-08-14 11:06:49.553725', 6646, NULL, '2011-08-14 11:06:49.553725', NULL, 'Ckeditor::Picture', NULL, 'image/png', 50, 64)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "updated_at", "data_file_size", "data", "created_at", "assetable_id", "type", "assetable_type", "data_content_type", "width", "height") VALUES ('rails.png', '2011-08-14 11:06:49.775529', 6646, NULL, '2011-08-14 11:06:49.775529', NULL, 'Ckeditor::Picture', NULL, 'image/png', 50, 64)[0m
+[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 212ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 211ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "updated_at", "data_file_size", "data", "created_at", "assetable_id", "type", "assetable_type", "data_content_type", "width", "height") VALUES ('rails.png', '2011-08-14 11:06:49.974990', 6646, NULL, '2011-08-14 11:06:49.974990', NULL, 'Ckeditor::Picture', NULL, 'image/png', 50, 64)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-h8mnsg.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-h8mnsg.png[0]' -resize "800>" '/tmp/stream20120104-6897-h8mnsg20120104-6897-11ft29g'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-h8mnsg.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-h8mnsg.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6897-h8mnsg20120104-6897-1h0alkk'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-h8mnsg.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "content", "title", "info") VALUES ('2011-08-14 11:06:50.032280', '2011-08-14 11:06:50.032280', 'content', 'test', 'info')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 14:06:50 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (7.4ms)
+Completed 200 OK in 18ms (Views: 17.0ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "content", "title", "info") VALUES ('2011-08-14 11:06:50.072774', '2011-08-14 11:06:50.072774', 'content', 'test', 'info')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:06:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "content", "title", "info") VALUES ('2011-08-14 11:06:50.089206', '2011-08-14 11:06:50.089206', 'content', 'test', 'info')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:06:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 106ms (Views: 105.1ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "content", "title", "info") VALUES ('2011-08-14 11:06:50.204794', '2011-08-14 11:06:50.204794', 'content', 'test', 'info')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 14:06:50 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa05fc80 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4477-xaw691-0>, @content_type="application/x-gzip">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "assetable_id", "assetable_type", "data_content_type", "data", "type", "data_file_size", "width", "height", "data_file_name", "created_at") VALUES ('2011-08-14 11:07:04.462942', NULL, NULL, NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, '2011-08-14 11:07:04.462942')[0m
+Rendered text template (0.0ms)
+Completed 200 OK in 33ms (Views: 2.4ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9def504 @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110814-4477-1i6qkpt-0>, @content_type="application/x-gzip">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "assetable_id", "assetable_type", "data_content_type", "data", "type", "data_file_size", "width", "height", "data_file_name", "created_at") VALUES ('2011-08-14 11:07:04.486681', NULL, NULL, NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, '2011-08-14 11:07:04.486681')
+Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 1.0ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "assetable_id", "assetable_type", "data_content_type", "data", "type", "data_file_size", "width", "height", "data_file_name", "created_at") VALUES ('2011-08-14 11:07:04.555757', NULL, NULL, NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, '2011-08-14 11:07:04.555757')[0m
+Completed 200 OK in 63ms (Views: 0.6ms | ActiveRecord: 1.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "assetable_id", "assetable_type", "data_content_type", "data", "type", "data_file_size", "width", "height", "data_file_name", "created_at") VALUES ('2011-08-14 11:07:04.570661', NULL, NULL, NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, NULL, '2011-08-14 11:07:04.570661')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 (4.5ms)
+Completed 200 OK in 19ms (Views: 17.1ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.5ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa021368 @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4477-1rp5h1i-0>, @content_type="image/png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "type", "assetable_id", "data_content_type", "data", "data_file_size", "height", "assetable_type", "created_at", "data_file_name") VALUES ('2011-08-14 11:07:55.135209', NULL, 'Ckeditor::Picture', NULL, NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:07:55.135209', NULL)[0m
+Completed 200 OK in 834ms (Views: 0.9ms | ActiveRecord: 0.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa0a765c @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110814-4477-8uh8i7-0>, @content_type="image/png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "width", "type", "assetable_id", "data_content_type", "data", "data_file_size", "height", "assetable_type", "created_at", "data_file_name") VALUES ('2011-08-14 11:07:55.907342', NULL, 'Ckeditor::Picture', NULL, NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:07:55.907342', NULL)
+Completed 200 OK in 760ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "type", "assetable_id", "data_content_type", "data", "data_file_size", "height", "assetable_type", "created_at", "data_file_name") VALUES ('2011-08-14 11:07:56.693203', NULL, 'Ckeditor::Picture', NULL, NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:07:56.693203', NULL)[0m
+Completed 200 OK in 849ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "type", "assetable_id", "data_content_type", "data", "data_file_size", "height", "assetable_type", "created_at", "data_file_name") VALUES ('2011-08-14 11:07:57.488459', NULL, 'Ckeditor::Picture', NULL, NULL, 'rails.png', NULL, NULL, NULL, '2011-08-14 11:07:57.488459', NULL)[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 8ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "updated_at", "title", "info", "content") VALUES ('2011-08-14 11:07:57.543207', '2011-08-14 11:07:57.543207', 'test', 'info', 'content')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 14:07:57 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.7ms)
+Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "updated_at", "title", "info", "content") VALUES ('2011-08-14 11:07:57.581896', '2011-08-14 11:07:57.581896', 'test', 'info', 'content')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:07:57 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "posts" ("created_at", "updated_at", "title", "info", "content") VALUES ('2011-08-14 11:07:57.599178', '2011-08-14 11:07:57.599178', 'test', 'info', 'content')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:07:57 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.8ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "updated_at", "title", "info", "content") VALUES ('2011-08-14 11:07:57.614315', '2011-08-14 11:07:57.614315', 'test', 'info', 'content')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Aug 14 14:07:57 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.3ms)
+Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
+MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
+MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
+MONGODB admin['$cmd'].find({:ismaster=>1})
+MONGODB admin['$cmd'].find({:ismaster=>1})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb932cbc @tempfile=#<File:/tmp/rails.tar.gz20110814-4867-1kvhijr-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:15:10 UTC 2011, "data_updated_at"=>Sun Aug 14 11:15:10 UTC 2011, "updated_at"=>Sun Aug 14 11:15:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e47ae3ede2f151303000001'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3ede2f151303000001/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 382ms (Views: 3.8ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3ede2f151303000001/rails_tar.gz
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae3ede2f151303000001')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xba8879c @tempfile=#<File:/tmp/rails.tar.gz20110814-4867-1wjal6f-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e47ae3fde2f151303000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000002/rails_tar.gz
+Completed 200 OK in 64ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000002/rails_tar.gz
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae3fde2f151303000002')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e47ae3fde2f151303000003'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000003/rails_tar.gz
+Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000003/rails_tar.gz
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae3fde2f151303000003')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "updated_at"=>Sun Aug 14 11:15:11 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e47ae3fde2f151303000004'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000004/rails_tar.gz
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>BSON::ObjectId('4e47ae3fde2f151303000004')}
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e47ae3fde2f151303000004'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/4e47ae3fde2f151303000004/rails_tar.gz
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae3fde2f151303000004')})
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (7.2ms)
+Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbac88c4 @tempfile=#<File:/tmp/rails.png20110814-4867-1n56tjr-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e47ae74de2f151303000006'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/thumb_rails.png
+Completed 200 OK in 365ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000006/thumb_rails.png
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae74de2f151303000006')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbc70cd0 @tempfile=#<File:/tmp/rails.png20110814-4867-34g7bj-0>, @content_type="image/png", @original_filename="rails.png">}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e47ae74de2f151303000007'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/thumb_rails.png
+Completed 200 OK in 161ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000007/thumb_rails.png
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae74de2f151303000007')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e47ae74de2f151303000008'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/thumb_rails.png
+Completed 200 OK in 170ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae74de2f151303000008/thumb_rails.png
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae74de2f151303000008')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Sun Aug 14 11:16:05 UTC 2011, "data_updated_at"=>Sun Aug 14 11:16:04 UTC 2011, "updated_at"=>Sun Aug 14 11:16:05 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e47ae75de2f151303000009'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/content_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/thumb_rails.png
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>BSON::ObjectId('4e47ae75de2f151303000009')}
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e47ae75de2f151303000009'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/content_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e47ae75de2f151303000009/thumb_rails.png
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e47ae75de2f151303000009')})
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+ Processing by Ckeditor::PicturesController#index as HTML
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e47ae75de2f15130300000b'), "info"=>"info", "content"=>"content"}])
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Aug 14 14:16:05 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (8.2ms)
+Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e47ae75de2f15130300000b')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e47ae75de2f15130300000d'), "info"=>"info", "content"=>"content"}])
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:16:05 +0300 2011
+ Processing by PostsController#index as HTML
+MONGODB ckeditor-test-suite['posts'].find({})
+Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e47ae75de2f15130300000d')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e47ae75de2f15130300000e'), "info"=>"info", "content"=>"content"}])
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Aug 14 14:16:05 +0300 2011
+ Processing by PostsController#index as HTML
+MONGODB ckeditor-test-suite['posts'].find({})
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e47ae75de2f15130300000e')})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"posts", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['posts'].remove({})
+MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{}, "fields"=>nil})
+MONGODB ckeditor-test-suite['ckeditor_assets'].remove({})
+MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e47ae75de2f15130300000f'), "info"=>"info", "content"=>"content"}])
+
+
+Started GET "/posts/4e47ae75de2f15130300000f/edit" for 127.0.0.1 at Sun Aug 14 14:16:05 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"4e47ae75de2f15130300000f"}
+MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e47ae75de2f15130300000f')})
+Rendered posts/_form.html.erb (5.9ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms)
+MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e47ae75de2f15130300000f')})
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.3ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "created_at", "data_content_type", "assetable_type", "data", "data_file_name", "width", "height", "updated_at", "assetable_id", "type") VALUES (6823, '2011-10-16 15:04:12.707812', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', NULL, NULL, '2011-10-16 15:04:12.707812', NULL, 'Ckeditor::AttachmentFile')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb9c7e34 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3095-yiw0sk-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "created_at", "data_content_type", "assetable_type", "data", "data_file_name", "width", "height", "updated_at", "assetable_id", "type") VALUES (6823, '2011-10-16 15:04:12.958342', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', NULL, NULL, '2011-10-16 15:04:12.958342', NULL, 'Ckeditor::AttachmentFile')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 123ms (Views: 31.4ms | ActiveRecord: 2.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb916ddc @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3095-djz1jd-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "created_at", "data_content_type", "assetable_type", "data", "data_file_name", "width", "height", "updated_at", "assetable_id", "type") VALUES (6823, '2011-10-16 15:04:13.072932', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', NULL, NULL, '2011-10-16 15:04:13.072932', NULL, 'Ckeditor::AttachmentFile')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 74ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "created_at", "data_content_type", "assetable_type", "data", "data_file_name", "width", "height", "updated_at", "assetable_id", "type") VALUES (6823, '2011-10-16 15:04:13.220090', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', NULL, NULL, '2011-10-16 15:04:13.220090', NULL, 'Ckeditor::AttachmentFile')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 138ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "created_at", "data_content_type", "assetable_type", "data", "data_file_name", "width", "height", "updated_at", "assetable_id", "type") VALUES (6823, '2011-10-16 15:04:13.319901', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', NULL, NULL, '2011-10-16 15:04:13.319901', NULL, 'Ckeditor::AttachmentFile')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 33ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Completed 500 Internal Server Error in 11ms
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "updated_at", "height", "width", "data_file_size", "created_at", "data_file_name", "assetable_type", "data", "type") VALUES (NULL, 'image/png', '2011-10-16 15:04:32.678106', 64, 50, 6646, '2011-10-16 15:04:32.678106', 'rails.png', NULL, NULL, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb7e5aa8 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3095-sghue2-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "updated_at", "height", "width", "data_file_size", "created_at", "data_file_name", "assetable_type", "data", "type") VALUES (NULL, 'image/png', '2011-10-16 15:04:32.889932', 64, 50, 6646, '2011-10-16 15:04:32.889932', 'rails.png', NULL, NULL, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 156ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [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.0ms)[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] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 204ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb7af9bc @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3095-iod0qk-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "updated_at", "height", "width", "data_file_size", "created_at", "data_file_name", "assetable_type", "data", "type") VALUES (NULL, 'image/png', '2011-10-16 15:04:33.109046', 64, 50, 6646, '2011-10-16 15:04:33.109046', 'rails.png', NULL, NULL, 'Ckeditor::Picture')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-phag9l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-phag9l.png[0]' -resize "800>" '/tmp/stream20120104-6897-phag9l20120104-6897-xm79us'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-phag9l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-6897-phag9l.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-6897-phag9l20120104-6897-1rrowoi'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-6897-phag9l.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "updated_at", "height", "width", "data_file_size", "created_at", "data_file_name", "assetable_type", "data", "type") VALUES (NULL, 'image/png', '2011-10-16 15:04:33.308679', 64, 50, 6646, '2011-10-16 15:04:33.308679', 'rails.png', NULL, NULL, 'Ckeditor::Picture')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_content_type", "updated_at", "height", "width", "data_file_size", "created_at", "data_file_name", "assetable_type", "data", "type") VALUES (NULL, 'image/png', '2011-10-16 15:04:33.497566', 64, 50, 6646, '2011-10-16 15:04:33.497566', 'rails.png', NULL, NULL, 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 500 Internal Server Error in 6ms
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 15:04:33.652126', 'info', 'content', '2011-10-16 15:04:33.652126')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:54:49 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.6ms)
+Completed 200 OK in 43ms (Views: 42.1ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 15:04:33.758997', 'info', 'content', '2011-10-16 15:04:33.758997')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:54:49 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:54:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:54:49 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 15:04:33.776283', 'info', 'content', '2011-10-16 15:04:33.776283')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:54:49 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:54:50 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:54:50 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 15:04:33.791226', 'info', 'content', '2011-10-16 15:04:33.791226')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:54:50 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Wed, 04 Jan 2012 10:56:05 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", Wed, 04 Jan 2012 10:56:05 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "data", "data_content_type", "data_file_size", "assetable_type", "created_at", "width", "data_file_name", "assetable_id") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-10-16 15:07:34.311167', NULL, 'application/x-gzip', 6823, NULL, '2011-10-16 15:07:34.311167', NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbd4ddd8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7003-faamtm>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:56:05 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", Wed, 04 Jan 2012 10:56:05 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xac5a01c @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3168-v1f4si-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "data", "data_content_type", "data_file_size", "assetable_type", "created_at", "width", "data_file_name", "assetable_id") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-10-16 15:07:34.410533', NULL, 'application/x-gzip', 6823, NULL, '2011-10-16 15:07:34.410533', NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 163ms (Views: 48.3ms | ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+Completed 200 OK in 54ms (Views: 2.7ms | ActiveRecord: 2.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xad0dbbc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7003-5w5uip>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:56:05 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", Wed, 04 Jan 2012 10:56:05 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaba0784 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3168-r39xvj-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "data", "data_content_type", "data_file_size", "assetable_type", "created_at", "width", "data_file_name", "assetable_id") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-10-16 15:07:34.529289', NULL, 'application/x-gzip', 6823, NULL, '2011-10-16 15:07:34.529289', NULL, 'rails_tar.gz', NULL)[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 149ms (Views: 0.4ms | ActiveRecord: 1.4ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 107ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:56:05 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", Wed, 04 Jan 2012 10:56:05 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "data", "data_content_type", "data_file_size", "assetable_type", "created_at", "width", "data_file_name", "assetable_id") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-10-16 15:07:34.610037', NULL, 'application/x-gzip', 6823, NULL, '2011-10-16 15:07:34.610037', NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 138ms (Views: 0.4ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 71ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:56:05 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", Wed, 04 Jan 2012 10:56:05 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "data", "data_content_type", "data_file_size", "assetable_type", "created_at", "width", "data_file_name", "assetable_id") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-10-16 15:07:34.717689', NULL, 'application/x-gzip', 6823, NULL, '2011-10-16 15:07:34.717689', NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
Completed 302 Found in 12ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.1ms)
-Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [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 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1yr9ejd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-1yr9ejd.png[0]' -resize "800>" '/tmp/stream20120104-7003-1yr9ejd20120104-7003-mvhj2v'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1yr9ejd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-1yr9ejd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7003-1yr9ejd20120104-7003-151wf1z'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1yr9ejd.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "data_file_name", "data_file_size", "assetable_type", "created_at", "type", "data", "data_content_type", "assetable_id", "height") VALUES ('2011-10-16 15:07:55.210644', 50, 'rails.png', 6646, NULL, '2011-10-16 15:07:55.210644', 'Ckeditor::Picture', NULL, 'image/png', NULL, 64)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbf75e94 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7003-muhukl>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-s9jpaz.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-s9jpaz.png[0]' -resize "800>" '/tmp/stream20120104-7003-s9jpaz20120104-7003-vtyr4d'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-s9jpaz.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-s9jpaz.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7003-s9jpaz20120104-7003-fxtxyk'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-s9jpaz.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaa8b7f4 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3168-16avhbm-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "data_file_name", "data_file_size", "assetable_type", "created_at", "type", "data", "data_content_type", "assetable_id", "height") VALUES ('2011-10-16 15:07:55.498352', 50, 'rails.png', 6646, NULL, '2011-10-16 15:07:55.498352', 'Ckeditor::Picture', NULL, 'image/png', NULL, 64)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 176ms (Views: 2.2ms | ActiveRecord: 1.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 278ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbf259f8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7003-1pfxoo0>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-lardyn.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-lardyn.png[0]' -resize "800>" '/tmp/stream20120104-7003-lardyn20120104-7003-1er7nrn'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-lardyn.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-lardyn.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7003-lardyn20120104-7003-15o5ecp'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-lardyn.png[0]'
- [1m[36mSQL (0.9ms)[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", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaa55550 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3168-mli7pg-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "width", "data_file_name", "data_file_size", "assetable_type", "created_at", "type", "data", "data_content_type", "assetable_id", "height") VALUES ('2011-10-16 15:07:55.745791', 50, 'rails.png', 6646, NULL, '2011-10-16 15:07:55.745791', 'Ckeditor::Picture', NULL, 'image/png', NULL, 64)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 208ms (Views: 0.5ms | ActiveRecord: 1.1ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 218ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-hqfm2d.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-hqfm2d.png[0]' -resize "800>" '/tmp/stream20120104-7003-hqfm2d20120104-7003-1tnrd2g'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-hqfm2d.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-hqfm2d.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7003-hqfm2d20120104-7003-kt3jdm'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-hqfm2d.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "data_file_name", "data_file_size", "assetable_type", "created_at", "type", "data", "data_content_type", "assetable_id", "height") VALUES ('2011-10-16 15:07:56.018026', 50, 'rails.png', 6646, NULL, '2011-10-16 15:07:56.018026', 'Ckeditor::Picture', NULL, 'image/png', NULL, 64)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 161ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 259ms (Views: 0.8ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1wr0izj.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-1wr0izj.png[0]' -resize "800>" '/tmp/stream20120104-7003-1wr0izj20120104-7003-1u0ys2d'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1wr0izj.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7003-1wr0izj.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7003-1wr0izj20120104-7003-z3lzik'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7003-1wr0izj.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "width", "data_file_name", "data_file_size", "assetable_type", "created_at", "type", "data", "data_content_type", "assetable_id", "height") VALUES ('2011-10-16 15:07:56.264468', 50, 'rails.png', 6646, NULL, '2011-10-16 15:07:56.264468', 'Ckeditor::Picture', NULL, 'image/png', NULL, 64)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 13ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.3ms)
-Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
+Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.7ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.1ms)
- [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 SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:56:06 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 184ms (Views: 0.6ms | ActiveRecord: 0.5ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "title", "info") VALUES ('content', '2011-10-16 15:07:56.508635', '2011-10-16 15:07:56.508635', 'test', 'info')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:56:06 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 18:07:56 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.5ms)
-Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[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 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", Wed, 04 Jan 2012 10:56:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:56:07 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (8.7ms)
+Completed 200 OK in 20ms (Views: 18.8ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "title", "info") VALUES ('content', '2011-10-16 15:07:56.553938', '2011-10-16 15:07:56.553938', 'test', 'info')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:56:07 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:07:56 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:56:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:56:07 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "updated_at", "title", "info") VALUES ('content', '2011-10-16 15:07:56.573148', '2011-10-16 15:07:56.573148', 'test', 'info')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:56:07 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:07:56 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:56:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:56:07 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "title", "info") VALUES ('content', '2011-10-16 15:07:56.590859', '2011-10-16 15:07:56.590859', 'test', 'info')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:56:07 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 18:07:56 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (7.2ms)
+Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.1ms)[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", Wed, 04 Jan 2012 10:57:13 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", Wed, 04 Jan 2012 10:57:13 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "height", "type", "data_content_type", "updated_at", "data", "data_file_size", "assetable_id", "data_file_name", "width") VALUES ('2011-10-16 15:13:18.479564', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 15:13:18.479564', NULL, 6823, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbe90b50 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7102-ldpgkb>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:57:13 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", Wed, 04 Jan 2012 10:57:13 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb11f304 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3280-1lxzvot-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "height", "type", "data_content_type", "updated_at", "data", "data_file_size", "assetable_id", "data_file_name", "width") VALUES ('2011-10-16 15:13:18.578628', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 15:13:18.578628', NULL, 6823, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 166ms (Views: 45.2ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 61ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb5d4c00 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7102-mv5r9k>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:57:13 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", Wed, 04 Jan 2012 10:57:13 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb065a08 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3280-d0ahtz-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "height", "type", "data_content_type", "updated_at", "data", "data_file_size", "assetable_id", "data_file_name", "width") VALUES ('2011-10-16 15:13:18.678495', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 15:13:18.678495', NULL, 6823, NULL, 'rails_tar.gz', NULL)[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 103ms (Views: 0.5ms | ActiveRecord: 0.9ms)
- [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 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]]
+Completed 200 OK in 88ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:57:13 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", Wed, 04 Jan 2012 10:57:13 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "height", "type", "data_content_type", "updated_at", "data", "data_file_size", "assetable_id", "data_file_name", "width") VALUES ('2011-10-16 15:13:18.748337', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 15:13:18.748337', NULL, 6823, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 96ms (Views: 0.4ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:57:13 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", Wed, 04 Jan 2012 10:57:13 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "assetable_type", "height", "type", "data_content_type", "updated_at", "data", "data_file_size", "assetable_id", "data_file_name", "width") VALUES ('2011-10-16 15:13:18.863775', NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 15:13:18.863775', NULL, 6823, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-t8u4hr.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-t8u4hr.png[0]' -resize "800>" '/tmp/stream20120104-7102-t8u4hr20120104-7102-19vocmr'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-t8u4hr.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-t8u4hr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7102-t8u4hr20120104-7102-37q3qv'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-t8u4hr.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "data", "data_file_name", "height", "type", "assetable_type", "data_content_type", "updated_at", "width", "assetable_id", "created_at") VALUES (6646, NULL, 'rails.png', 64, 'Ckeditor::Picture', NULL, 'image/png', '2011-10-16 15:13:37.610685', 50, NULL, '2011-10-16 15:13:37.610685')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xc2f6884 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7102-dah90n>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1ojnao8.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-1ojnao8.png[0]' -resize "800>" '/tmp/stream20120104-7102-1ojnao820120104-7102-tqlt3w'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1ojnao8.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-1ojnao8.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7102-1ojnao820120104-7102-pztpzj'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1ojnao8.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaf4f77c @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3280-i84lk5-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "data", "data_file_name", "height", "type", "assetable_type", "data_content_type", "updated_at", "width", "assetable_id", "created_at") VALUES (6646, NULL, 'rails.png', 64, 'Ckeditor::Picture', NULL, 'image/png', '2011-10-16 15:13:37.799284', 50, NULL, '2011-10-16 15:13:37.799284')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 159ms (Views: 2.2ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 180ms (Views: 0.9ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xc1591fc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7102-1pmv40n>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-79qepw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-79qepw.png[0]' -resize "800>" '/tmp/stream20120104-7102-79qepw20120104-7102-rfy2ya'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-79qepw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-79qepw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7102-79qepw20120104-7102-p7cvi9'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-79qepw.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", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaf19398 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3280-1lxgrxm-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "data", "data_file_name", "height", "type", "assetable_type", "data_content_type", "updated_at", "width", "assetable_id", "created_at") VALUES (6646, NULL, 'rails.png', 64, 'Ckeditor::Picture', NULL, 'image/png', '2011-10-16 15:13:38.031949', 50, NULL, '2011-10-16 15:13:38.031949')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 219ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1xznl8v.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-1xznl8v.png[0]' -resize "800>" '/tmp/stream20120104-7102-1xznl8v20120104-7102-1v0zw29'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1xznl8v.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-1xznl8v.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7102-1xznl8v20120104-7102-1a3f0pf'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-1xznl8v.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "data", "data_file_name", "height", "type", "assetable_type", "data_content_type", "updated_at", "width", "assetable_id", "created_at") VALUES (6646, NULL, 'rails.png', 64, 'Ckeditor::Picture', NULL, 'image/png', '2011-10-16 15:13:38.220497', 50, NULL, '2011-10-16 15:13:38.220497')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 186ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-zie7rg.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-zie7rg.png[0]' -resize "800>" '/tmp/stream20120104-7102-zie7rg20120104-7102-qt2c7p'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-zie7rg.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7102-zie7rg.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7102-zie7rg20120104-7102-1b9oxp6'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7102-zie7rg.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:57:14 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "data", "data_file_name", "height", "type", "assetable_type", "data_content_type", "updated_at", "width", "assetable_id", "created_at") VALUES (6646, NULL, 'rails.png', 64, 'Ckeditor::Picture', NULL, 'image/png', '2011-10-16 15:13:38.420047', 50, NULL, '2011-10-16 15:13:38.420047')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.3ms)
-Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "created_at", "info", "content") VALUES ('test', '2011-10-16 15:13:38.574734', '2011-10-16 15:13:38.574734', 'info', 'content')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:57:15 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 18:13:38 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:57:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.7ms)
+Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "created_at", "info", "content") VALUES ('test', '2011-10-16 15:13:38.613666', '2011-10-16 15:13:38.613666', 'info', 'content')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:57:15 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:13:38 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:57:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "updated_at", "created_at", "info", "content") VALUES ('test', '2011-10-16 15:13:38.630688', '2011-10-16 15:13:38.630688', 'info', 'content')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:57:15 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:13:38 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:57:15 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "created_at", "info", "content") VALUES ('test', '2011-10-16 15:13:38.645175', '2011-10-16 15:13:38.645175', 'info', 'content')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:57:15 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 18:13:38 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.2ms)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.0ms)[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", Wed, 04 Jan 2012 10:57:59 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", Wed, 04 Jan 2012 10:57:59 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "width", "type", "data_content_type", "created_at", "data_file_name", "data", "height", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 17:34:28.955169', 'rails_tar.gz', NULL, NULL, 6823, '2011-10-16 17:34:28.955169', NULL)
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb63aec4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7203-51i760>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:57:59 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", Wed, 04 Jan 2012 10:57:59 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xac1c9b0 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3773-a6l7rc-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "width", "type", "data_content_type", "created_at", "data_file_name", "data", "height", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 17:34:29.054318', 'rails_tar.gz', NULL, NULL, 6823, '2011-10-16 17:34:29.054318', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 168ms (Views: 45.2ms | ActiveRecord: 1.4ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 61ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaed42c0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7203-p1yjby>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:57:59 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", Wed, 04 Jan 2012 10:57:59 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xab633d4 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3773-12xf4pf-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "width", "type", "data_content_type", "created_at", "data_file_name", "data", "height", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 17:34:29.135341', 'rails_tar.gz', NULL, NULL, 6823, '2011-10-16 17:34:29.135341', NULL)[0m
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 72ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 69ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:57:59 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", Wed, 04 Jan 2012 10:57:59 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "width", "type", "data_content_type", "created_at", "data_file_name", "data", "height", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 17:34:29.232039', 'rails_tar.gz', NULL, NULL, 6823, '2011-10-16 17:34:29.232039', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 99ms (Views: 0.7ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[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]]
+Completed 200 OK in 87ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:57:59 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", Wed, 04 Jan 2012 10:57:59 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "width", "type", "data_content_type", "created_at", "data_file_name", "data", "height", "data_file_size", "updated_at", "assetable_id") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 17:34:29.350712', 'rails_tar.gz', NULL, NULL, 6823, '2011-10-16 17:34:29.350712', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 46ms (Views: 44.7ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-s93c2w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-s93c2w.png[0]' -resize "800>" '/tmp/stream20120104-7203-s93c2w20120104-7203-1s1gh7o'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-s93c2w.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-s93c2w.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7203-s93c2w20120104-7203-1mxux6l'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-s93c2w.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "assetable_id", "data_file_size", "data", "created_at", "type", "assetable_type", "data_content_type") VALUES (64, 'rails.png', '2011-10-16 17:34:49.093721', 50, NULL, 6646, NULL, '2011-10-16 17:34:49.093721', 'Ckeditor::Picture', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbb6fcc8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7203-pg25r1>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-16gy8ox.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-16gy8ox.png[0]' -resize "800>" '/tmp/stream20120104-7203-16gy8ox20120104-7203-14elb5h'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-16gy8ox.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-16gy8ox.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7203-16gy8ox20120104-7203-wus7cu'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-16gy8ox.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaa3cd34 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3773-4rf5pd-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "assetable_id", "data_file_size", "data", "created_at", "type", "assetable_type", "data_content_type") VALUES (64, 'rails.png', '2011-10-16 17:34:49.296461', 50, NULL, 6646, NULL, '2011-10-16 17:34:49.296461', 'Ckeditor::Picture', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 211ms (Views: 2.2ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 193ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbafb83c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7203-iycdbl>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-4g9jkc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-4g9jkc.png[0]' -resize "800>" '/tmp/stream20120104-7203-4g9jkc20120104-7203-1s5z1y'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-4g9jkc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-4g9jkc.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7203-4g9jkc20120104-7203-luibby'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-4g9jkc.png[0]'
- [1m[36mSQL (0.8ms)[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", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaa07f94 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3773-3y9g3t-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "assetable_id", "data_file_size", "data", "created_at", "type", "assetable_type", "data_content_type") VALUES (64, 'rails.png', '2011-10-16 17:34:49.506393', 50, NULL, 6646, NULL, '2011-10-16 17:34:49.506393', 'Ckeditor::Picture', NULL, 'image/png')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 227ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 199ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-108nmk7.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-108nmk7.png[0]' -resize "800>" '/tmp/stream20120104-7203-108nmk720120104-7203-1vvs2ih'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-108nmk7.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-108nmk7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7203-108nmk720120104-7203-9vqvum'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-108nmk7.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "assetable_id", "data_file_size", "data", "created_at", "type", "assetable_type", "data_content_type") VALUES (64, 'rails.png', '2011-10-16 17:34:49.694976', 50, NULL, 6646, NULL, '2011-10-16 17:34:49.694976', 'Ckeditor::Picture', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 161ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-1w6fepq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-1w6fepq.png[0]' -resize "800>" '/tmp/stream20120104-7203-1w6fepq20120104-7203-vn802a'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-1w6fepq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7203-1w6fepq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7203-1w6fepq20120104-7203-1bi7wgw'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7203-1w6fepq.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 10:58:00 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "assetable_id", "data_file_size", "data", "created_at", "type", "assetable_type", "data_content_type") VALUES (64, 'rails.png', '2011-10-16 17:34:49.894539', 50, NULL, 6646, NULL, '2011-10-16 17:34:49.894539', 'Ckeditor::Picture', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [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.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms
- [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')
+Completed 302 Found in 10ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "info", "updated_at", "created_at") VALUES ('content', 'test', 'info', '2011-10-16 17:34:50.050468', '2011-10-16 17:34:50.050468')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:58:01 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:34:50 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:58:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "info", "updated_at", "created_at") VALUES ('content', 'test', 'info', '2011-10-16 17:34:50.090061', '2011-10-16 17:34:50.090061')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:01 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:34:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:58:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "title", "info", "updated_at", "created_at") VALUES ('content', 'test', 'info', '2011-10-16 17:34:50.106989', '2011-10-16 17:34:50.106989')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:01 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:34:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:01 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "info", "updated_at", "created_at") VALUES ('content', 'test', 'info', '2011-10-16 17:34:50.121820', '2011-10-16 17:34:50.121820')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:58:01 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:34:50 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.1ms)[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", Wed, 04 Jan 2012 10:58:23 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", Wed, 04 Jan 2012 10:58:23 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_size", "created_at", "assetable_type", "updated_at", "width", "height", "data", "assetable_id", "data_file_name", "data_content_type") VALUES ('Ckeditor::AttachmentFile', 6823, '2011-10-16 17:37:14.569043', NULL, '2011-10-16 17:37:14.569043', NULL, NULL, NULL, NULL, 'rails_tar.gz', 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9f77dcc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7303-1wjvxoz>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[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", Wed, 04 Jan 2012 10:58:23 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", Wed, 04 Jan 2012 10:58:23 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb975c9c @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3843-1sett3m-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_size", "created_at", "assetable_type", "updated_at", "width", "height", "data", "assetable_id", "data_file_name", "data_content_type") VALUES ('Ckeditor::AttachmentFile', 6823, '2011-10-16 17:37:14.668036', NULL, '2011-10-16 17:37:14.668036', NULL, NULL, NULL, NULL, 'rails_tar.gz', 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 310ms (Views: 47.2ms | ActiveRecord: 1.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+Completed 200 OK in 61ms (Views: 2.6ms | ActiveRecord: 2.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaa36f60 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7303-1f3t719>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb8bc56c @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3843-qs7p3z-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_file_size", "created_at", "assetable_type", "updated_at", "width", "height", "data", "assetable_id", "data_file_name", "data_content_type") VALUES ('Ckeditor::AttachmentFile', 6823, '2011-10-16 17:37:14.759904', NULL, '2011-10-16 17:37:14.759904', NULL, NULL, NULL, NULL, 'rails_tar.gz', 'application/x-gzip')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 377ms (Views: 0.7ms | ActiveRecord: 1.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.4ms)[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.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+Completed 200 OK in 80ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_size", "created_at", "assetable_type", "updated_at", "width", "height", "data", "assetable_id", "data_file_name", "data_content_type") VALUES ('Ckeditor::AttachmentFile', 6823, '2011-10-16 17:37:14.875565', NULL, '2011-10-16 17:37:14.875565', NULL, NULL, NULL, NULL, 'rails_tar.gz', 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 74ms (Views: 0.4ms | ActiveRecord: 1.4ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 107ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_size", "created_at", "assetable_type", "updated_at", "width", "height", "data", "assetable_id", "data_file_name", "data_content_type") VALUES ('Ckeditor::AttachmentFile', 6823, '2011-10-16 17:37:14.986581', NULL, '2011-10-16 17:37:14.986581', NULL, NULL, NULL, NULL, 'rails_tar.gz', 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 13ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.9ms)
-Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-16081v1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-16081v1.png[0]' -resize "800>" '/tmp/stream20120104-7303-16081v120120104-7303-1udvovi'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-16081v1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-16081v1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7303-16081v120120104-7303-huc0do'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-16081v1.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "assetable_id", "height", "data_content_type", "data_file_name", "assetable_type", "updated_at", "created_at", "type", "data", "data_file_size") VALUES (50, NULL, 64, 'image/png', 'rails.png', NULL, '2011-10-16 17:37:36.128788', '2011-10-16 17:37:36.128788', 'Ckeditor::Picture', NULL, 6646)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb7e3b68 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7303-1mam29a>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1aaz167.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-1aaz167.png[0]' -resize "800>" '/tmp/stream20120104-7303-1aaz16720120104-7303-vhymma'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1aaz167.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-1aaz167.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7303-1aaz16720120104-7303-1opacv2'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1aaz167.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb78c8a4 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3843-17xtehc-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "assetable_id", "height", "data_content_type", "data_file_name", "assetable_type", "updated_at", "created_at", "type", "data", "data_file_size") VALUES (50, NULL, 64, 'image/png', 'rails.png', NULL, '2011-10-16 17:37:36.473771', '2011-10-16 17:37:36.473771', 'Ckeditor::Picture', NULL, 6646)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 162ms (Views: 2.2ms | ActiveRecord: 2.1ms)
- [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.0ms)[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]]
+Completed 200 OK in 338ms (Views: 1.1ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb6e3560 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7303-1sfl1gq>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-8syxj3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-8syxj3.png[0]' -resize "800>" '/tmp/stream20120104-7303-8syxj320120104-7303-1q1qst5'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-8syxj3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-8syxj3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7303-8syxj320120104-7303-kv3mf9'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-8syxj3.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:24 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xba81fb4 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3843-1awg34c-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("width", "assetable_id", "height", "data_content_type", "data_file_name", "assetable_type", "updated_at", "created_at", "type", "data", "data_file_size") VALUES (50, NULL, 64, 'image/png', 'rails.png', NULL, '2011-10-16 17:37:36.672182', '2011-10-16 17:37:36.672182', 'Ckeditor::Picture', NULL, 6646)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 217ms (Views: 0.4ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 186ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [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')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-11esnzu.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-11esnzu.png[0]' -resize "800>" '/tmp/stream20120104-7303-11esnzu20120104-7303-1ptdh98'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-11esnzu.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-11esnzu.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7303-11esnzu20120104-7303-1ymhkqo'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-11esnzu.png[0]'
- [1m[35mSQL (1.1ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "assetable_id", "height", "data_content_type", "data_file_name", "assetable_type", "updated_at", "created_at", "type", "data", "data_file_size") VALUES (50, NULL, 64, 'image/png', 'rails.png', NULL, '2011-10-16 17:37:36.861792', '2011-10-16 17:37:36.861792', 'Ckeditor::Picture', NULL, 6646)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 194ms (Views: 0.5ms | ActiveRecord: 1.4ms)
- [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.0ms)[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]]
+Completed 200 OK in 179ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1raib3k.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-1raib3k.png[0]' -resize "800>" '/tmp/stream20120104-7303-1raib3k20120104-7303-2juz9w'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1raib3k.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7303-1raib3k.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7303-1raib3k20120104-7303-wy8wnv'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7303-1raib3k.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "assetable_id", "height", "data_content_type", "data_file_name", "assetable_type", "updated_at", "created_at", "type", "data", "data_file_size") VALUES (50, NULL, 64, 'image/png', 'rails.png', NULL, '2011-10-16 17:37:37.060289', '2011-10-16 17:37:37.060289', 'Ckeditor::Picture', NULL, 6646)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [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.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "updated_at", "info") VALUES ('content', 'test', '2011-10-16 17:37:37.116972', '2011-10-16 17:37:37.116972', 'info')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:58:25 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "updated_at", "info") VALUES ('content', 'test', '2011-10-16 17:37:37.156290', '2011-10-16 17:37:37.156290', 'info')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:25 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "title", "created_at", "updated_at", "info") VALUES ('content', 'test', '2011-10-16 17:37:37.173121', '2011-10-16 17:37:37.173121', 'info')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:25 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:25 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "updated_at", "info") VALUES ('content', 'test', '2011-10-16 17:37:37.187777', '2011-10-16 17:37:37.187777', 'info')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:58:25 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.2ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:54 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "data_content_type", "updated_at", "type", "data", "created_at", "assetable_id", "data_file_size", "height", "assetable_type") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-10-16 17:41:13.180936', 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:41:13.180936', NULL, 6823, NULL, NULL)
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa45658c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7402-1a3yh70>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:54 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb660dcc @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3920-aqc8fg-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "data_content_type", "updated_at", "type", "data", "created_at", "assetable_id", "data_file_size", "height", "assetable_type") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-10-16 17:41:13.280499', 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:41:13.280499', NULL, 6823, NULL, NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 203ms (Views: 47.2ms | ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 62ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c2631c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7402-8lsd5x>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:54 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb5a75e8 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3920-1oj30rt-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "width", "data_content_type", "updated_at", "type", "data", "created_at", "assetable_id", "data_file_size", "height", "assetable_type") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-10-16 17:41:13.382875', 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:41:13.382875', NULL, 6823, NULL, NULL)[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 107ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 91ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:54 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "data_content_type", "updated_at", "type", "data", "created_at", "assetable_id", "data_file_size", "height", "assetable_type") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-10-16 17:41:13.468706', 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:41:13.468706', NULL, 6823, NULL, NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 104ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 77ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:54 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "data_content_type", "updated_at", "type", "data", "created_at", "assetable_id", "data_file_size", "height", "assetable_type") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-10-16 17:41:13.588044', 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:41:13.588044', NULL, 6823, NULL, NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.0ms)
-Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1dg6qee.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1dg6qee.png[0]' -resize "800>" '/tmp/stream20120104-7402-1dg6qee20120104-7402-i8fov3'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1dg6qee.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1dg6qee.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7402-1dg6qee20120104-7402-1c45qu1'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1dg6qee.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:55 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "data", "type", "assetable_id", "width", "data_file_size", "height", "assetable_type", "updated_at") VALUES ('2011-10-16 17:41:33.643855', 'rails.png', 'image/png', NULL, 'Ckeditor::Picture', NULL, 50, 6646, 64, NULL, '2011-10-16 17:41:33.643855')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa8a9620 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7402-3kj8e3>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-18frzww.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-18frzww.png[0]' -resize "800>" '/tmp/stream20120104-7402-18frzww20120104-7402-1kqot80'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-18frzww.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-18frzww.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7402-18frzww20120104-7402-2mx0st'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-18frzww.png[0]'
- [1m[35mSQL (0.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:55 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb6728b0 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3920-voaqg4-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "data", "type", "assetable_id", "width", "data_file_size", "height", "assetable_type", "updated_at") VALUES ('2011-10-16 17:41:33.965239', 'rails.png', 'image/png', NULL, 'Ckeditor::Picture', NULL, 50, 6646, 64, NULL, '2011-10-16 17:41:33.965239')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 155ms (Views: 2.2ms | ActiveRecord: 0.9ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 158ms (Views: 1.1ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa83502c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7402-17o6kdp>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-nt3pct.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-nt3pct.png[0]' -resize "800>" '/tmp/stream20120104-7402-nt3pct20120104-7402-1hhj45w'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-nt3pct.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-nt3pct.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7402-nt3pct20120104-7402-r3wdps'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-nt3pct.png[0]'
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:55 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb6ce138 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3920-lz980s-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "data", "type", "assetable_id", "width", "data_file_size", "height", "assetable_type", "updated_at") VALUES ('2011-10-16 17:41:34.164899', 'rails.png', 'image/png', NULL, 'Ckeditor::Picture', NULL, 50, 6646, 64, NULL, '2011-10-16 17:41:34.164899')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 225ms (Views: 0.4ms | ActiveRecord: 1.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 187ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1oazndz.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1oazndz.png[0]' -resize "800>" '/tmp/stream20120104-7402-1oazndz20120104-7402-9qgr2y'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1oazndz.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1oazndz.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7402-1oazndz20120104-7402-cfavpe'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1oazndz.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:55 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "data", "type", "assetable_id", "width", "data_file_size", "height", "assetable_type", "updated_at") VALUES ('2011-10-16 17:41:34.353243', 'rails.png', 'image/png', NULL, 'Ckeditor::Picture', NULL, 50, 6646, 64, NULL, '2011-10-16 17:41:34.353243')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 185ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1g2kepd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1g2kepd.png[0]' -resize "800>" '/tmp/stream20120104-7402-1g2kepd20120104-7402-1ux1uf4'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1g2kepd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7402-1g2kepd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7402-1g2kepd20120104-7402-1ye462u'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7402-1g2kepd.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 10:58: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", Wed, 04 Jan 2012 10:58:56 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "data", "type", "assetable_id", "width", "data_file_size", "height", "assetable_type", "updated_at") VALUES ('2011-10-16 17:41:34.563869', 'rails.png', 'image/png', NULL, 'Ckeditor::Picture', NULL, 50, 6646, 64, NULL, '2011-10-16 17:41:34.563869')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.3ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms
- [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')
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[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.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "content", "title", "created_at", "updated_at") VALUES ('info', 'content', 'test', '2011-10-16 17:41:34.620428', '2011-10-16 17:41:34.620428')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 12:58:56 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:41:34 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 10:58:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "content", "title", "created_at", "updated_at") VALUES ('info', 'content', 'test', '2011-10-16 17:41:34.660216', '2011-10-16 17:41:34.660216')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:56 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:41:34 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 10:58:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("info", "content", "title", "created_at", "updated_at") VALUES ('info', 'content', 'test', '2011-10-16 17:41:34.677106', '2011-10-16 17:41:34.677106')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 12:58:56 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:41:34 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 10:58:56 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "content", "title", "created_at", "updated_at") VALUES ('info', 'content', 'test', '2011-10-16 17:41:34.691926', '2011-10-16 17:41:34.691926')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 12:58:56 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:41:34 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.3ms)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (6.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", Wed, 04 Jan 2012 11:00:30 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", Wed, 04 Jan 2012 11:00:30 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("data", "created_at", "width", "assetable_id", "data_file_name", "data_content_type", "type", "data_file_size", "assetable_type", "height", "updated_at") VALUES (NULL, '2011-10-16 17:46:06.972025', NULL, NULL, 'rails_tar.gz', 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, NULL, NULL, '2011-10-16 17:46:06.972025')
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaacaee0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7506-48e9wn>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 11:00: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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa8241b4 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3992-yg45ap-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "created_at", "width", "assetable_id", "data_file_name", "data_content_type", "type", "data_file_size", "assetable_type", "height", "updated_at") VALUES (NULL, '2011-10-16 17:46:07.071539', NULL, NULL, 'rails_tar.gz', 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, NULL, NULL, '2011-10-16 17:46:07.071539')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 169ms (Views: 44.1ms | ActiveRecord: 1.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 61ms (Views: 2.7ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa6fe12c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120104-7506-tq522v>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 11:00: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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa76a8cc @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-3992-153198f-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data", "created_at", "width", "assetable_id", "data_file_name", "data_content_type", "type", "data_file_size", "assetable_type", "height", "updated_at") VALUES (NULL, '2011-10-16 17:46:07.149189', NULL, NULL, 'rails_tar.gz', 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, NULL, NULL, '2011-10-16 17:46:07.149189')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 130ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[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]]
+Completed 200 OK in 66ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 11:00: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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "created_at", "width", "assetable_id", "data_file_name", "data_content_type", "type", "data_file_size", "assetable_type", "height", "updated_at") VALUES (NULL, '2011-10-16 17:46:07.240348', NULL, NULL, 'rails_tar.gz', 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, NULL, NULL, '2011-10-16 17:46:07.240348')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 91ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[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]]
+Completed 200 OK in 82ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Wed, 04 Jan 2012 11:00: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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "created_at", "width", "assetable_id", "data_file_name", "data_content_type", "type", "data_file_size", "assetable_type", "height", "updated_at") VALUES (NULL, '2011-10-16 17:46:07.343693', NULL, NULL, 'rails_tar.gz', 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, NULL, NULL, '2011-10-16 17:46:07.343693')
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.9ms)
-Completed 200 OK in 46ms (Views: 44.7ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-bg7bog.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-bg7bog.png[0]' -resize "800>" '/tmp/stream20120104-7506-bg7bog20120104-7506-9d65un'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-bg7bog.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-bg7bog.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7506-bg7bog20120104-7506-13ik3ir'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-bg7bog.png[0]'
- [1m[35mSQL (1.2ms)[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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "data_file_size", "data_file_name", "updated_at", "created_at", "width", "type", "data_content_type", "assetable_type", "data") VALUES (NULL, 64, 6646, 'rails.png', '2011-10-16 17:46:26.880215', '2011-10-16 17:46:26.880215', 50, 'Ckeditor::Picture', 'image/png', NULL, NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaacb8e0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7506-17fqj8h>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-wvfj48.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-wvfj48.png[0]' -resize "800>" '/tmp/stream20120104-7506-wvfj4820120104-7506-3x66i6'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-wvfj48.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-wvfj48.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7506-wvfj4820120104-7506-4c6e85'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-wvfj48.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 11:00:31 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6435e8 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3992-13oqxoe-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "data_file_size", "data_file_name", "updated_at", "created_at", "width", "type", "data_content_type", "assetable_type", "data") VALUES (NULL, 64, 6646, 'rails.png', '2011-10-16 17:46:27.157575', '2011-10-16 17:46:27.157575', 50, 'Ckeditor::Picture', 'image/png', NULL, NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 165ms (Views: 2.2ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 174ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb0025ac @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120104-7506-1v93o44>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-n96gb8.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-n96gb8.png[0]' -resize "800>" '/tmp/stream20120104-7506-n96gb820120104-7506-1wt7x1x'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-n96gb8.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-n96gb8.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7506-n96gb820120104-7506-1ahcjsp'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-n96gb8.png[0]'
- [1m[36mSQL (1.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", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa8bb4b0 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-3992-1lm9baq-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "data_file_size", "data_file_name", "updated_at", "created_at", "width", "type", "data_content_type", "assetable_type", "data") VALUES (NULL, 64, 6646, 'rails.png', '2011-10-16 17:46:27.379534', '2011-10-16 17:46:27.379534', 50, 'Ckeditor::Picture', 'image/png', NULL, NULL)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 192ms (Views: 0.5ms | ActiveRecord: 1.4ms)
- [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.0ms)[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]]
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [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')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1u8m2zn.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-1u8m2zn.png[0]' -resize "800>" '/tmp/stream20120104-7506-1u8m2zn20120104-7506-ut7p47'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1u8m2zn.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-1u8m2zn.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7506-1u8m2zn20120104-7506-13ukh4x'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1u8m2zn.png[0]'
- [1m[35mSQL (1.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", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "data_file_size", "data_file_name", "updated_at", "created_at", "width", "type", "data_content_type", "assetable_type", "data") VALUES (NULL, 64, 6646, 'rails.png', '2011-10-16 17:46:27.578955', '2011-10-16 17:46:27.578955', 50, 'Ckeditor::Picture', 'image/png', NULL, NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 188ms (Views: 0.5ms | ActiveRecord: 1.5ms)
- [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.0ms)[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]]
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1cduk2e.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-1cduk2e.png[0]' -resize "800>" '/tmp/stream20120104-7506-1cduk2e20120104-7506-15p6imn'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1cduk2e.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120104-7506-1cduk2e.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120104-7506-1cduk2e20120104-7506-13jyysa'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120104-7506-1cduk2e.png[0]'
- [1m[35mSQL (0.9ms)[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", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "data_file_size", "data_file_name", "updated_at", "created_at", "width", "type", "data_content_type", "assetable_type", "data") VALUES (NULL, 64, 6646, 'rails.png', '2011-10-16 17:46:27.767687', '2011-10-16 17:46:27.767687', 50, 'Ckeditor::Picture', 'image/png', NULL, NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 7ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [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 SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "content", "title") VALUES ('2011-10-16 17:46:27.825409', '2011-10-16 17:46:27.825409', 'info', 'content', 'test')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-04 13:00:32 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 44ms (Views: 44.0ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "content", "title") VALUES ('2011-10-16 17:46:27.864753', '2011-10-16 17:46:27.864753', 'info', 'content', 'test')
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 13:00:32 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "info", "content", "title") VALUES ('2011-10-16 17:46:27.881521', '2011-10-16 17:46:27.881521', 'info', 'content', 'test')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-04 13:00:32 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Wed, 04 Jan 2012 11:00:32 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "info", "content", "title") VALUES ('2011-10-16 17:46:27.896080', '2011-10-16 17:46:27.896080', 'info', 'content', 'test')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-04 13:00:32 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (29.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", Thu, 05 Jan 2012 10:09:40 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", Thu, 05 Jan 2012 10:09:40 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "created_at", "data_file_size", "height", "data", "updated_at", "data_file_name", "width", "assetable_id", "type") VALUES (NULL, 'application/x-gzip', '2011-10-16 17:50:22.685143', 6823, NULL, NULL, '2011-10-16 17:50:22.685143', 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile')
[paperclip] Saving attachments.
[paperclip] saving /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.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb56dec4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-4254-pulxun>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 10:09:40 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", Thu, 05 Jan 2012 10:09:40 UTC +00:00], ["width", nil]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaa0f064 @tempfile=#<File:/tmp/rails.tar.gz20111016-4065-19b345i-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "created_at", "data_file_size", "height", "data", "updated_at", "data_file_name", "width", "assetable_id", "type") VALUES (NULL, 'application/x-gzip', '2011-10-16 17:50:22.783248', 6823, NULL, NULL, '2011-10-16 17:50:22.783248', 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 237ms (Views: 94.1ms | ActiveRecord: 1.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
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.4ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+Completed 200 OK in 60ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [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')
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb1d3fc0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-4254-1axzv5z>>, "use_route"=>"ckeditor"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.9ms)[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", Thu, 05 Jan 2012 10:09:40 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", Thu, 05 Jan 2012 10:09:40 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa95577c @tempfile=#<File:/tmp/rails.tar.gz20111016-4065-1mvrx1d-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "created_at", "data_file_size", "height", "data", "updated_at", "data_file_name", "width", "assetable_id", "type") VALUES (NULL, 'application/x-gzip', '2011-10-16 17:50:22.863938', 6823, NULL, NULL, '2011-10-16 17:50:22.863938', 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile')[0m
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 127ms (Views: 0.7ms | ActiveRecord: 1.1ms)
- [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]]
+Completed 200 OK in 69ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[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", Thu, 05 Jan 2012 10:09:40 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", Thu, 05 Jan 2012 10:09:40 UTC +00:00], ["width", nil]]
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "created_at", "data_file_size", "height", "data", "updated_at", "data_file_name", "width", "assetable_id", "type") VALUES (NULL, 'application/x-gzip', '2011-10-16 17:50:22.967117', 6823, NULL, NULL, '2011-10-16 17:50:22.967117', 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 101ms (Views: 0.6ms | ActiveRecord: 1.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.0ms)[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]]
+Completed 200 OK in 94ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 10:09:40 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", Thu, 05 Jan 2012 10:09:40 UTC +00:00], ["width", nil]]
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "created_at", "data_file_size", "height", "data", "updated_at", "data_file_name", "width", "assetable_id", "type") VALUES (NULL, 'application/x-gzip', '2011-10-16 17:50:23.101773', 6823, NULL, NULL, '2011-10-16 17:50:23.101773', 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 11ms
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 71ms (Views: 69.9ms | ActiveRecord: 0.2ms)
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [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 5ms (Views: 0.5ms | 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')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-cj33dc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-cj33dc.png[0]' -resize "800>" '/tmp/stream20120105-4254-cj33dc20120105-4254-1r04qpd'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-cj33dc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-cj33dc.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4254-cj33dc20120105-4254-5xky9n'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-cj33dc.png[0]'
- [1m[35mSQL (0.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", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "height", "data_file_name", "updated_at", "assetable_type", "created_at", "type", "data") VALUES ('image/png', 50, NULL, 6646, 64, 'rails.png', '2011-10-16 17:50:42.547878', NULL, '2011-10-16 17:50:42.547878', 'Ckeditor::Picture', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa160238 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-4254-1uvfljm>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-8rlzue.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-8rlzue.png[0]' -resize "800>" '/tmp/stream20120105-4254-8rlzue20120105-4254-7ui52d'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-8rlzue.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-8rlzue.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4254-8rlzue20120105-4254-jtg841'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-8rlzue.png[0]'
- [1m[35mSQL (0.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", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa83ae78 @tempfile=#<File:/tmp/rails.png20111016-4065-90hcmh-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "height", "data_file_name", "updated_at", "assetable_type", "created_at", "type", "data") VALUES ('image/png', 50, NULL, 6646, 64, 'rails.png', '2011-10-16 17:50:42.736008', NULL, '2011-10-16 17:50:42.736008', 'Ckeditor::Picture', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 165ms (Views: 2.2ms | ActiveRecord: 1.1ms)
- [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.0ms)[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]]
+Completed 200 OK in 180ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb9313f8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-4254-1m5b6cq>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-vmgbcw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-vmgbcw.png[0]' -resize "800>" '/tmp/stream20120105-4254-vmgbcw20120105-4254-5jyn85'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-vmgbcw.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-vmgbcw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4254-vmgbcw20120105-4254-1xev80o'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-vmgbcw.png[0]'
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:09:41 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa805034 @tempfile=#<File:/tmp/rails.png20111016-4065-z0euvw-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "height", "data_file_name", "updated_at", "assetable_type", "created_at", "type", "data") VALUES ('image/png', 50, NULL, 6646, 64, 'rails.png', '2011-10-16 17:50:42.924751', NULL, '2011-10-16 17:50:42.924751', 'Ckeditor::Picture', NULL)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 181ms (Views: 0.8ms | ActiveRecord: 1.6ms)
- [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.0ms)[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]]
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [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')
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-wdxm99.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-wdxm99.png[0]' -resize "800>" '/tmp/stream20120105-4254-wdxm9920120105-4254-kojr93'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-wdxm99.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-wdxm99.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4254-wdxm9920120105-4254-95vsuj'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-wdxm99.png[0]'
- [1m[35mSQL (1.0ms)[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", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "height", "data_file_name", "updated_at", "assetable_type", "created_at", "type", "data") VALUES ('image/png', 50, NULL, 6646, 64, 'rails.png', '2011-10-16 17:50:43.213217', NULL, '2011-10-16 17:50:43.213217', 'Ckeditor::Picture', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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
-Completed 200 OK in 146ms (Views: 0.7ms | ActiveRecord: 1.2ms)
- [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 SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+Completed 200 OK in 279ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
[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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-1xviqmm.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-1xviqmm.png[0]' -resize "800>" '/tmp/stream20120105-4254-1xviqmm20120105-4254-1shfu8m'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-1xviqmm.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4254-1xviqmm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4254-1xviqmm20120105-4254-12kdbzi'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4254-1xviqmm.png[0]'
- [1m[35mSQL (0.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", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["width", 50]]
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "width", "assetable_id", "data_file_size", "height", "data_file_name", "updated_at", "assetable_type", "created_at", "type", "data") VALUES ('image/png', 50, NULL, 6646, 64, 'rails.png', '2011-10-16 17:50:43.412640', NULL, '2011-10-16 17:50:43.412640', 'Ckeditor::Picture', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[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.0ms)[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]]
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[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
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.4ms)
-Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "info", "created_at", "content", "title") VALUES ('2011-10-16 17:50:43.471450', 'info', '2011-10-16 17:50:43.471450', 'content', 'test')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-05 12:09:42 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 76ms (Views: 75.5ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "info", "created_at", "content", "title") VALUES ('2011-10-16 17:50:43.511255', 'info', '2011-10-16 17:50:43.511255', 'content', 'test')
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 12:09:42 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("updated_at", "info", "created_at", "content", "title") VALUES ('2011-10-16 17:50:43.528821', 'info', '2011-10-16 17:50:43.528821', 'content', 'test')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 12:09:42 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 10:09:42 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("updated_at", "info", "created_at", "content", "title") VALUES ('2011-10-16 17:50:43.543984', 'info', '2011-10-16 17:50:43.543984', 'content', 'test')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-05 12:09:42 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4724-x8ofwf.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4724-x8ofwf.png[0]' -resize "800>" '/tmp/stream20120105-4724-x8ofwf20120105-4724-og5kxh'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4724-x8ofwf.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4724-x8ofwf.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4724-x8ofwf20120105-4724-1f6f3ch'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4724-x8ofwf.png[0]'
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:42:16 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", Thu, 05 Jan 2012 10:42:16 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+Migrating to CreatePosts (20110623120047)
+Migrating to CreateCkeditorAssets (20110705195648)
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data_content_type", "created_at", "data_file_size", "data", "width", "updated_at", "type", "data_file_name") VALUES (NULL, NULL, NULL, 'application/x-gzip', '2011-10-16 17:58:16.528665', 6823, NULL, NULL, '2011-10-16 17:58:16.528665', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4764-fqcnpx.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4764-fqcnpx.png[0]' -resize "800>" '/tmp/stream20120105-4764-fqcnpx20120105-4764-1l1slty'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4764-fqcnpx.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4764-fqcnpx.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4764-fqcnpx20120105-4764-1q7xoc8'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4764-fqcnpx.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:42:16 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:42:16 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xba9f050 @tempfile=#<File:/tmp/rails.tar.gz20111016-4190-lc4aff-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data_content_type", "created_at", "data_file_size", "data", "width", "updated_at", "type", "data_file_name") VALUES (NULL, NULL, NULL, 'application/x-gzip', '2011-10-16 17:58:16.625691', 6823, NULL, NULL, '2011-10-16 17:58:16.625691', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 59ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb9e577c @tempfile=#<File:/tmp/rails.tar.gz20111016-4190-jd0wpx-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data_content_type", "created_at", "data_file_size", "data", "width", "updated_at", "type", "data_file_name") VALUES (NULL, NULL, NULL, 'application/x-gzip', '2011-10-16 17:58:16.717668', 6823, NULL, NULL, '2011-10-16 17:58:16.717668', 'Ckeditor::AttachmentFile', 'rails_tar.gz')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 80ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data_content_type", "created_at", "data_file_size", "data", "width", "updated_at", "type", "data_file_name") VALUES (NULL, NULL, NULL, 'application/x-gzip', '2011-10-16 17:58:16.820923', 6823, NULL, NULL, '2011-10-16 17:58:16.820923', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 94ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "assetable_type", "data_content_type", "created_at", "data_file_size", "data", "width", "updated_at", "type", "data_file_name") VALUES (NULL, NULL, NULL, 'application/x-gzip', '2011-10-16 17:58:16.944244', 6823, NULL, NULL, '2011-10-16 17:58:16.944244', 'Ckeditor::AttachmentFile', 'rails_tar.gz')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_content_type", "data", "data_file_name", "assetable_type", "updated_at", "type", "created_at", "width", "data_file_size", "assetable_id") VALUES (64, 'image/png', NULL, 'rails.png', NULL, '2011-10-16 17:58:36.135248', 'Ckeditor::Picture', '2011-10-16 17:58:36.135248', 50, 6646, NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb8c8380 @tempfile=#<File:/tmp/rails.png20111016-4190-108e9b5-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_content_type", "data", "data_file_name", "assetable_type", "updated_at", "type", "created_at", "width", "data_file_size", "assetable_id") VALUES (64, 'image/png', NULL, 'rails.png', NULL, '2011-10-16 17:58:36.323890', 'Ckeditor::Picture', '2011-10-16 17:58:36.323890', 50, 6646, NULL)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.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", Thu, 05 Jan 2012 10:42:47 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", Thu, 05 Jan 2012 10:42:47 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 180ms (Views: 0.9ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb89334c @tempfile=#<File:/tmp/rails.png20111016-4190-r2blq5-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "data_content_type", "data", "data_file_name", "assetable_type", "updated_at", "type", "created_at", "width", "data_file_size", "assetable_id") VALUES (64, 'image/png', NULL, 'rails.png', NULL, '2011-10-16 17:58:36.545498', 'Ckeditor::Picture', '2011-10-16 17:58:36.545498', 50, 6646, NULL)
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4791-1qnuk44.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4791-1qnuk44.png[0]' -resize "800>" '/tmp/stream20120105-4791-1qnuk4420120105-4791-1t7mi28'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4791-1qnuk44.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4791-1qnuk44.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4791-1qnuk4420120105-4791-qayono'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4791-1qnuk44.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", Thu, 05 Jan 2012 10:42:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:42:47 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 347ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_content_type", "data", "data_file_name", "assetable_type", "updated_at", "type", "created_at", "width", "data_file_size", "assetable_id") VALUES (64, 'image/png', NULL, 'rails.png', NULL, '2011-10-16 17:58:36.890113', 'Ckeditor::Picture', '2011-10-16 17:58:36.890113', 50, 6646, NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 177ms (Views: 0.7ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_content_type", "data", "data_file_name", "assetable_type", "updated_at", "type", "created_at", "width", "data_file_size", "assetable_id") VALUES (64, 'image/png', NULL, 'rails.png', NULL, '2011-10-16 17:58:37.066582', 'Ckeditor::Picture', '2011-10-16 17:58:37.066582', 50, 6646, NULL)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "title", "content", "created_at") VALUES ('info', '2011-10-16 17:58:37.125797', 'test', 'content', '2011-10-16 17:58:37.125797')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:58:37 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.9ms)
+Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "title", "content", "created_at") VALUES ('info', '2011-10-16 17:58:37.165501', 'test', 'content', '2011-10-16 17:58:37.165501')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:58:37 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("info", "updated_at", "title", "content", "created_at") VALUES ('info', '2011-10-16 17:58:37.183064', 'test', 'content', '2011-10-16 17:58:37.183064')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:58:37 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "title", "content", "created_at") VALUES ('info', '2011-10-16 17:58:37.198432', 'test', 'content', '2011-10-16 17:58:37.198432')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:58:37 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.4ms)
+Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.1ms)[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", Thu, 05 Jan 2012 10:43:16 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", Thu, 05 Jan 2012 10:43:16 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data", "width", "assetable_id", "type", "height", "updated_at", "data_file_name", "data_content_type", "data_file_size", "created_at", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:59:31.123034', 'rails_tar.gz', 'application/x-gzip', 6823, '2011-10-16 17:59:31.123034', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4818-9jteh1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4818-9jteh1.png[0]' -resize "800>" '/tmp/stream20120105-4818-9jteh120120105-4818-1v4itus'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4818-9jteh1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4818-9jteh1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4818-9jteh120120105-4818-1t1kazk'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4818-9jteh1.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:43:16 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:43:16 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbad61f4 @tempfile=#<File:/tmp/rails.tar.gz20111016-4260-17n9f65-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "width", "assetable_id", "type", "height", "updated_at", "data_file_name", "data_content_type", "data_file_size", "created_at", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:59:31.221140', 'rails_tar.gz', 'application/x-gzip', 6823, '2011-10-16 17:59:31.221140', NULL)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 60ms (Views: 2.7ms | ActiveRecord: 2.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xba1c8bc @tempfile=#<File:/tmp/rails.tar.gz20111016-4260-1wil1uj-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data", "width", "assetable_id", "type", "height", "updated_at", "data_file_name", "data_content_type", "data_file_size", "created_at", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:59:31.312718', 'rails_tar.gz', 'application/x-gzip', 6823, '2011-10-16 17:59:31.312718', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 80ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "width", "assetable_id", "type", "height", "updated_at", "data_file_name", "data_content_type", "data_file_size", "created_at", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:59:31.416108', 'rails_tar.gz', 'application/x-gzip', 6823, '2011-10-16 17:59:31.416108', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 94ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "width", "assetable_id", "type", "height", "updated_at", "data_file_name", "data_content_type", "data_file_size", "created_at", "assetable_type") VALUES (NULL, NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 17:59:31.573070', 'rails_tar.gz', 'application/x-gzip', 6823, '2011-10-16 17:59:31.573070', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.3ms)
+Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "data_file_name", "width", "data_content_type", "data", "height", "data_file_size", "updated_at", "created_at", "type") VALUES (NULL, NULL, 'rails.png', 50, 'image/png', NULL, 64, 6646, '2011-10-16 17:59:50.597859', '2011-10-16 17:59:50.597859', 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb8fb848 @tempfile=#<File:/tmp/rails.png20111016-4260-17sgpat-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "data_file_name", "width", "data_content_type", "data", "height", "data_file_size", "updated_at", "created_at", "type") VALUES (NULL, NULL, 'rails.png', 50, 'image/png', NULL, 64, 6646, '2011-10-16 17:59:50.797381', '2011-10-16 17:59:50.797381', 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.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", Thu, 05 Jan 2012 10:44:41 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", Thu, 05 Jan 2012 10:44:41 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 286ms (Views: 4.4ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbcd5a40 @tempfile=#<File:/tmp/rails.png20111016-4260-1a9vece-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "data_file_name", "width", "data_content_type", "data", "height", "data_file_size", "updated_at", "created_at", "type") VALUES (NULL, NULL, 'rails.png', 50, 'image/png', NULL, 64, 6646, '2011-10-16 17:59:51.074574', '2011-10-16 17:59:51.074574', 'Ckeditor::Picture')
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4857-2i6tyd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4857-2i6tyd.png[0]' -resize "800>" '/tmp/stream20120105-4857-2i6tyd20120105-4857-117qa42'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4857-2i6tyd.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4857-2i6tyd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4857-2i6tyd20120105-4857-xbgi34'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4857-2i6tyd.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:44:42 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:44:42 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 171ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "data_file_name", "width", "data_content_type", "data", "height", "data_file_size", "updated_at", "created_at", "type") VALUES (NULL, NULL, 'rails.png', 50, 'image/png', NULL, 64, 6646, '2011-10-16 17:59:51.262798', '2011-10-16 17:59:51.262798', 'Ckeditor::Picture')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 176ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "data_file_name", "width", "data_content_type", "data", "height", "data_file_size", "updated_at", "created_at", "type") VALUES (NULL, NULL, 'rails.png', 50, 'image/png', NULL, 64, 6646, '2011-10-16 17:59:51.462464', '2011-10-16 17:59:51.462464', 'Ckeditor::Picture')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "info", "title") VALUES ('content', '2011-10-16 17:59:51.520575', '2011-10-16 17:59:51.520575', 'info', 'test')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.7ms)
+Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "info", "title") VALUES ('content', '2011-10-16 17:59:51.560323', '2011-10-16 17:59:51.560323', 'info', 'test')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "updated_at", "info", "title") VALUES ('content', '2011-10-16 17:59:51.577285', '2011-10-16 17:59:51.577285', 'info', 'test')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "updated_at", "info", "title") VALUES ('content', '2011-10-16 17:59:51.592087', '2011-10-16 17:59:51.592087', 'info', 'test')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.5ms)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:45: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", Thu, 05 Jan 2012 10:45:00 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("data", "data_content_type", "data_file_name", "updated_at", "assetable_id", "height", "type", "assetable_type", "created_at", "width", "data_file_size") VALUES (NULL, 'application/x-gzip', 'rails_tar.gz', '2011-10-16 18:03:39.914824', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 18:03:39.914824', NULL, 6823)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4886-1rdbph9.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4886-1rdbph9.png[0]' -resize "800>" '/tmp/stream20120105-4886-1rdbph920120105-4886-k7zm4l'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4886-1rdbph9.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4886-1rdbph9.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4886-1rdbph920120105-4886-1xs7cyd'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4886-1rdbph9.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", Thu, 05 Jan 2012 10:45:00 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:45:00 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xad69ca0 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4331-ig0p5x-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "data_content_type", "data_file_name", "updated_at", "assetable_id", "height", "type", "assetable_type", "created_at", "width", "data_file_size") VALUES (NULL, 'application/x-gzip', 'rails_tar.gz', '2011-10-16 18:03:40.013247', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 18:03:40.013247', NULL, 6823)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 61ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xacb05fc @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4331-1cc79w4-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data", "data_content_type", "data_file_name", "updated_at", "assetable_id", "height", "type", "assetable_type", "created_at", "width", "data_file_size") VALUES (NULL, 'application/x-gzip', 'rails_tar.gz', '2011-10-16 18:03:40.093869', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 18:03:40.093869', NULL, 6823)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 69ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "data_content_type", "data_file_name", "updated_at", "assetable_id", "height", "type", "assetable_type", "created_at", "width", "data_file_size") VALUES (NULL, 'application/x-gzip', 'rails_tar.gz', '2011-10-16 18:03:40.179789', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 18:03:40.179789', NULL, 6823)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 77ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data", "data_content_type", "data_file_name", "updated_at", "assetable_id", "height", "type", "assetable_type", "created_at", "width", "data_file_size") VALUES (NULL, 'application/x-gzip', 'rails_tar.gz', '2011-10-16 18:03:40.249524', NULL, NULL, 'Ckeditor::AttachmentFile', NULL, '2011-10-16 18:03:40.249524', NULL, 6823)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "updated_at", "data", "assetable_id", "height", "type", "data_file_size", "data_file_name", "created_at", "assetable_type", "data_content_type") VALUES (50, '2011-10-16 18:04:01.175453', NULL, NULL, 64, 'Ckeditor::Picture', 6646, 'rails.png', '2011-10-16 18:04:01.175453', NULL, 'image/png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xab93264 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4331-1t0rko5-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "updated_at", "data", "assetable_id", "height", "type", "data_file_size", "data_file_name", "created_at", "assetable_type", "data_content_type") VALUES (50, '2011-10-16 18:04:01.386211', NULL, NULL, 64, 'Ckeditor::Picture', 6646, 'rails.png', '2011-10-16 18:04:01.386211', NULL, 'image/png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:45:33 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", Thu, 05 Jan 2012 10:45:33 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 203ms (Views: 1.0ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xab5e208 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4331-gagpix-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("width", "updated_at", "data", "assetable_id", "height", "type", "data_file_size", "data_file_name", "created_at", "assetable_type", "data_content_type") VALUES (50, '2011-10-16 18:04:01.585833', NULL, NULL, 64, 'Ckeditor::Picture', 6646, 'rails.png', '2011-10-16 18:04:01.585833', NULL, 'image/png')
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4917-g58dax.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4917-g58dax.png[0]' -resize "800>" '/tmp/stream20120105-4917-g58dax20120105-4917-q9xd8d'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4917-g58dax.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4917-g58dax.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4917-g58dax20120105-4917-cyanyt'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4917-g58dax.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:45:34 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:45:34 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 346ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "updated_at", "data", "assetable_id", "height", "type", "data_file_size", "data_file_name", "created_at", "assetable_type", "data_content_type") VALUES (50, '2011-10-16 18:04:01.931587', NULL, NULL, 64, 'Ckeditor::Picture', 6646, 'rails.png', '2011-10-16 18:04:01.931587', NULL, 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "updated_at", "data", "assetable_id", "height", "type", "data_file_size", "data_file_name", "created_at", "assetable_type", "data_content_type") VALUES (50, '2011-10-16 18:04:02.128870', NULL, NULL, 64, 'Ckeditor::Picture', 6646, 'rails.png', '2011-10-16 18:04:02.128870', NULL, 'image/png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "info", "content", "updated_at", "title") VALUES ('2011-10-16 18:04:02.186851', 'info', 'content', '2011-10-16 18:04:02.186851', 'test')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "info", "content", "updated_at", "title") VALUES ('2011-10-16 18:04:02.226202', 'info', 'content', '2011-10-16 18:04:02.226202', 'test')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("created_at", "info", "content", "updated_at", "title") VALUES ('2011-10-16 18:04:02.243446', 'info', 'content', '2011-10-16 18:04:02.243446', 'test')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("created_at", "info", "content", "updated_at", "title") VALUES ('2011-10-16 18:04:02.258516', 'info', 'content', '2011-10-16 18:04:02.258516', 'test')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.4ms)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:46:13 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", Thu, 05 Jan 2012 10:46:13 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "data", "width", "data_content_type", "updated_at", "type", "assetable_type", "height", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', NULL, NULL, 'application/x-gzip', '2011-10-16 18:06:06.377622', 'Ckeditor::AttachmentFile', NULL, NULL, '2011-10-16 18:06:06.377622')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4944-1aaia73.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4944-1aaia73.png[0]' -resize "800>" '/tmp/stream20120105-4944-1aaia7320120105-4944-1e10x31'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4944-1aaia73.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-4944-1aaia73.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-4944-1aaia7320120105-4944-w3u2ly'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-4944-1aaia73.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:46:14 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:46:14 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbaf3b3c @tempfile=#<File:/tmp/rails.tar.gz20111016-4400-1kbcpdx-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "data", "width", "data_content_type", "updated_at", "type", "assetable_type", "height", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', NULL, NULL, 'application/x-gzip', '2011-10-16 18:06:06.476359', 'Ckeditor::AttachmentFile', NULL, NULL, '2011-10-16 18:06:06.476359')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 61ms (Views: 2.9ms | ActiveRecord: 2.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xba3a470 @tempfile=#<File:/tmp/rails.tar.gz20111016-4400-tccwyy-0>, @content_type="application/x-gzip", @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "data", "width", "data_content_type", "updated_at", "type", "assetable_type", "height", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', NULL, NULL, 'application/x-gzip', '2011-10-16 18:06:06.556848', 'Ckeditor::AttachmentFile', NULL, NULL, '2011-10-16 18:06:06.556848')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 69ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "data", "width", "data_content_type", "updated_at", "type", "assetable_type", "height", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', NULL, NULL, 'application/x-gzip', '2011-10-16 18:06:06.660302', 'Ckeditor::AttachmentFile', NULL, NULL, '2011-10-16 18:06:06.660302')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 94ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "data", "width", "data_content_type", "updated_at", "type", "assetable_type", "height", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', NULL, NULL, 'application/x-gzip', '2011-10-16 18:06:06.817161', 'Ckeditor::AttachmentFile', NULL, NULL, '2011-10-16 18:06:06.817161')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "created_at", "data_file_size", "type", "assetable_id", "assetable_type", "data_content_type", "data") VALUES (64, 'rails.png', '2011-10-16 18:06:26.473716', 50, '2011-10-16 18:06:26.473716', 6646, 'Ckeditor::Picture', NULL, NULL, 'image/png', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb921b9c @tempfile=#<File:/tmp/rails.png20111016-4400-1awzsws-0>, @content_type="image/png", @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "created_at", "data_file_size", "type", "assetable_id", "assetable_type", "data_content_type", "data") VALUES (64, 'rails.png', '2011-10-16 18:06:26.662373', 50, '2011-10-16 18:06:26.662373', 6646, 'Ckeditor::Picture', NULL, NULL, 'image/png', NULL)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.1ms)[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", Thu, 05 Jan 2012 10:48:17 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", Thu, 05 Jan 2012 10:48:17 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 180ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb8ebe70 @tempfile=#<File:/tmp/rails.png20111016-4400-11qx826-0>, @content_type="image/png", @original_filename="rails.png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "created_at", "data_file_size", "type", "assetable_id", "assetable_type", "data_content_type", "data") VALUES (64, 'rails.png', '2011-10-16 18:06:26.895217', 50, '2011-10-16 18:06:26.895217', 6646, 'Ckeditor::Picture', NULL, NULL, 'image/png', NULL)
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5021-atyhfc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5021-atyhfc.png[0]' -resize "800>" '/tmp/stream20120105-5021-atyhfc20120105-5021-1vhm5xh'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5021-atyhfc.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5021-atyhfc.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5021-atyhfc20120105-5021-rdb4zj'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5021-atyhfc.png[0]'
- [1m[35mSQL (1.2ms)[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", Thu, 05 Jan 2012 10:48:17 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:48:17 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 188ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "created_at", "data_file_size", "type", "assetable_id", "assetable_type", "data_content_type", "data") VALUES (64, 'rails.png', '2011-10-16 18:06:27.083443', 50, '2011-10-16 18:06:27.083443', 6646, 'Ckeditor::Picture', NULL, NULL, 'image/png', NULL)[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data_file_name", "updated_at", "width", "created_at", "data_file_size", "type", "assetable_id", "assetable_type", "data_content_type", "data") VALUES (64, 'rails.png', '2011-10-16 18:06:27.416238', 50, '2011-10-16 18:06:27.416238', 6646, 'Ckeditor::Picture', NULL, NULL, 'image/png', NULL)[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 18:06:27.475343', 'info', 'content', '2011-10-16 18:06:27.475343')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 18:06:27.515628', 'info', 'content', '2011-10-16 18:06:27.515628')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 18:06:27.533025', 'info', 'content', '2011-10-16 18:06:27.533025')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "updated_at", "info", "content", "created_at") VALUES ('test', '2011-10-16 18:06:27.548205', 'info', 'content', '2011-10-16 18:06:27.548205')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:48:59 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", Thu, 05 Jan 2012 10:48:59 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "data", "height", "type", "data_file_size", "assetable_type", "updated_at", "created_at", "width", "data_content_type") VALUES (NULL, 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-10-16 18:51:28.050175', '2011-10-16 18:51:28.050175', NULL, 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5049-jnndad.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5049-jnndad.png[0]' -resize "800>" '/tmp/stream20120105-5049-jnndad20120105-5049-1q6j3d1'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5049-jnndad.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5049-jnndad.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5049-jnndad20120105-5049-10yp512'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5049-jnndad.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", Thu, 05 Jan 2012 10:48:59 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:48:59 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbecceac @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4541-d1l7c-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "data", "height", "type", "data_file_size", "assetable_type", "updated_at", "created_at", "width", "data_content_type") VALUES (NULL, 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-10-16 18:51:28.152980', '2011-10-16 18:51:28.152980', NULL, 'application/x-gzip')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 57ms (Views: 2.7ms | ActiveRecord: 2.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbe13c40 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4541-1s1xn52-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "data", "height", "type", "data_file_size", "assetable_type", "updated_at", "created_at", "width", "data_content_type") VALUES (NULL, 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-10-16 18:51:28.244637', '2011-10-16 18:51:28.244637', NULL, 'application/x-gzip')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 80ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "data", "height", "type", "data_file_size", "assetable_type", "updated_at", "created_at", "width", "data_content_type") VALUES (NULL, 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-10-16 18:51:28.347872', '2011-10-16 18:51:28.347872', NULL, 'application/x-gzip')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 94ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "data", "height", "type", "data_file_size", "assetable_type", "updated_at", "created_at", "width", "data_content_type") VALUES (NULL, 'rails_tar.gz', NULL, NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-10-16 18:51:28.493579', '2011-10-16 18:51:28.493579', NULL, 'application/x-gzip')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "data", "width", "height", "type", "created_at") VALUES (NULL, '2011-10-16 18:51:49.746856', NULL, 'image/png', 6646, 'rails.png', NULL, 50, 64, 'Ckeditor::Picture', '2011-10-16 18:51:49.746856')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbcf4990 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4541-9vk1hh-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "data", "width", "height", "type", "created_at") VALUES (NULL, '2011-10-16 18:51:50.002182', NULL, 'image/png', 6646, 'rails.png', NULL, 50, 64, 'Ckeditor::Picture', '2011-10-16 18:51:50.002182')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:49:21 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", Thu, 05 Jan 2012 10:49:21 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 247ms (Views: 1.0ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbcbdd3c @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4541-1pa91za-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "data", "width", "height", "type", "created_at") VALUES (NULL, '2011-10-16 18:51:50.290582', NULL, 'image/png', 6646, 'rails.png', NULL, 50, 64, 'Ckeditor::Picture', '2011-10-16 18:51:50.290582')
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5078-1gndxro.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5078-1gndxro.png[0]' -resize "800>" '/tmp/stream20120105-5078-1gndxro20120105-5078-57n0n2'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5078-1gndxro.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5078-1gndxro.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5078-1gndxro20120105-5078-nnv26y'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5078-1gndxro.png[0]'
- [1m[35mSQL (1.2ms)[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", Thu, 05 Jan 2012 10:49:21 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:49:21 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 172ms (Views: 0.7ms | ActiveRecord: 1.3ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "data", "width", "height", "type", "created_at") VALUES (NULL, '2011-10-16 18:51:50.479190', NULL, 'image/png', 6646, 'rails.png', NULL, 50, 64, 'Ckeditor::Picture', '2011-10-16 18:51:50.479190')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.5ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "updated_at", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "data", "width", "height", "type", "created_at") VALUES (NULL, '2011-10-16 18:51:50.667595', NULL, 'image/png', 6646, 'rails.png', NULL, 50, 64, 'Ckeditor::Picture', '2011-10-16 18:51:50.667595')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "content", "created_at", "title") VALUES ('info', '2011-10-16 18:51:50.725766', 'content', '2011-10-16 18:51:50.725766', 'test')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 21:51:50 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "content", "created_at", "title") VALUES ('info', '2011-10-16 18:51:50.765294', 'content', '2011-10-16 18:51:50.765294', 'test')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:51:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("info", "updated_at", "content", "created_at", "title") VALUES ('info', '2011-10-16 18:51:50.782569', 'content', '2011-10-16 18:51:50.782569', 'test')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:51:50 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("info", "updated_at", "content", "created_at", "title") VALUES ('info', '2011-10-16 18:51:50.797512', 'content', '2011-10-16 18:51:50.797512', 'test')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 21:51:50 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.3ms)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 10:49:36 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", Thu, 05 Jan 2012 10:49:36 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("width", "updated_at", "assetable_id", "data_file_size", "type", "data_content_type", "created_at", "assetable_type", "height", "data_file_name", "data") VALUES (NULL, '2011-10-16 18:52:20.170333', NULL, 6823, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 18:52:20.170333', NULL, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5104-dm3rx4.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5104-dm3rx4.png[0]' -resize "800>" '/tmp/stream20120105-5104-dm3rx420120105-5104-ryy4cs'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5104-dm3rx4.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5104-dm3rx4.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5104-dm3rx420120105-5104-19ghq1k'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5104-dm3rx4.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 10:49:36 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 10:49:36 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa4d63e0 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4613-16mdch-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("width", "updated_at", "assetable_id", "data_file_size", "type", "data_content_type", "created_at", "assetable_type", "height", "data_file_name", "data") VALUES (NULL, '2011-10-16 18:52:20.270878', NULL, 6823, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 18:52:20.270878', NULL, NULL, 'rails_tar.gz', NULL)
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 62ms (Views: 2.6ms | ActiveRecord: 2.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa41d05c @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-4613-j0gyx0-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "updated_at", "assetable_id", "data_file_size", "type", "data_content_type", "created_at", "assetable_type", "height", "data_file_name", "data") VALUES (NULL, '2011-10-16 18:52:20.389997', NULL, 6823, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 18:52:20.389997', NULL, NULL, 'rails_tar.gz', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 107ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("width", "updated_at", "assetable_id", "data_file_size", "type", "data_content_type", "created_at", "assetable_type", "height", "data_file_name", "data") VALUES (NULL, '2011-10-16 18:52:20.459742', NULL, 6823, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 18:52:20.459742', NULL, NULL, 'rails_tar.gz', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 61ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("width", "updated_at", "assetable_id", "data_file_size", "type", "data_content_type", "created_at", "assetable_type", "height", "data_file_name", "data") VALUES (NULL, '2011-10-16 18:52:20.567371', NULL, 6823, 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-10-16 18:52:20.567371', NULL, NULL, 'rails_tar.gz', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 13ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data", "assetable_id", "created_at", "data_file_size", "data_file_name", "assetable_type", "updated_at", "width", "type", "data_content_type") VALUES (64, NULL, NULL, '2011-10-16 18:52:39.070969', 6646, 'rails.png', NULL, '2011-10-16 18:52:39.070969', 50, 'Ckeditor::Picture', 'image/png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa30447c @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4613-1ml5iuo-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data", "assetable_id", "created_at", "data_file_size", "data_file_name", "assetable_type", "updated_at", "width", "type", "data_content_type") VALUES (64, NULL, NULL, '2011-10-16 18:52:39.376504', 6646, 'rails.png', NULL, '2011-10-16 18:52:39.376504', 50, 'Ckeditor::Picture', 'image/png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (5.2ms)[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", Thu, 05 Jan 2012 11:01: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", Thu, 05 Jan 2012 11:01:32 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 297ms (Views: 0.9ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa2cde68 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-4613-e29hot-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("height", "data", "assetable_id", "created_at", "data_file_size", "data_file_name", "assetable_type", "updated_at", "width", "type", "data_content_type") VALUES (64, NULL, NULL, '2011-10-16 18:52:39.612082', 6646, 'rails.png', NULL, '2011-10-16 18:52:39.612082', 50, 'Ckeditor::Picture', 'image/png')
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5263-1i4pby3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5263-1i4pby3.png[0]' -resize "800>" '/tmp/stream20120105-5263-1i4pby320120105-5263-134pa3l'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5263-1i4pby3.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5263-1i4pby3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5263-1i4pby320120105-5263-1dbdwkv'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5263-1i4pby3.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 11:01:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 11:01:32 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 224ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data", "assetable_id", "created_at", "data_file_size", "data_file_name", "assetable_type", "updated_at", "width", "type", "data_content_type") VALUES (64, NULL, NULL, '2011-10-16 18:52:40.068748', 6646, 'rails.png', NULL, '2011-10-16 18:52:40.068748', 50, 'Ckeditor::Picture', 'image/png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 445ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "data", "assetable_id", "created_at", "data_file_size", "data_file_name", "assetable_type", "updated_at", "width", "type", "data_content_type") VALUES (64, NULL, NULL, '2011-10-16 18:52:40.401654', 6646, 'rails.png', NULL, '2011-10-16 18:52:40.401654', 50, 'Ckeditor::Picture', 'image/png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "updated_at", "info", "created_at") VALUES ('content', 'test', '2011-10-16 18:52:40.460579', 'info', '2011-10-16 18:52:40.460579')
+
+
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 21:52:40 +0300 2011
+ Processing by PostsController#new as HTML
+Rendered posts/_form.html.erb (6.9ms)
+Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "updated_at", "info", "created_at") VALUES ('content', 'test', '2011-10-16 18:52:40.500912', 'info', '2011-10-16 18:52:40.500912')
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:52:40 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "title", "updated_at", "info", "created_at") VALUES ('content', 'test', '2011-10-16 18:52:40.518164', 'info', '2011-10-16 18:52:40.518164')[0m
+
+
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:52:40 +0300 2011
+ Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "updated_at", "info", "created_at") VALUES ('content', 'test', '2011-10-16 18:52:40.533538', 'info', '2011-10-16 18:52:40.533538')
+
+
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 21:52:40 +0300 2011
+ Processing by PostsController#edit as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (10.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", Thu, 05 Jan 2012 11:05: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", Thu, 05 Jan 2012 11:05:31 UTC +00:00], ["width", nil]]
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_file_size", "assetable_type", "data_file_name", "updated_at", "data", "created_at", "height", "width", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 6823, NULL, 'rails_tar.gz', '2011-10-16 20:25:29.921844', NULL, '2011-10-16 20:25:29.921844', NULL, NULL, 'application/x-gzip')
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5334-b8s5gj.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5334-b8s5gj.png[0]' -resize "800>" '/tmp/stream20120105-5334-b8s5gj20120105-5334-f79db7'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5334-b8s5gj.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5334-b8s5gj.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5334-b8s5gj20120105-5334-1kqokmu'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5334-b8s5gj.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", Thu, 05 Jan 2012 11:05:32 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 11:05:32 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbbe4be0 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-5767-wehvv5-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_file_size", "assetable_type", "data_file_name", "updated_at", "data", "created_at", "height", "width", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 6823, NULL, 'rails_tar.gz', '2011-10-16 20:25:30.020177', NULL, '2011-10-16 20:25:30.020177', NULL, NULL, 'application/x-gzip')
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 60ms (Views: 2.6ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbb349fc @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-5767-1i3la70-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_file_size", "assetable_type", "data_file_name", "updated_at", "data", "created_at", "height", "width", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 6823, NULL, 'rails_tar.gz', '2011-10-16 20:25:30.149999', NULL, '2011-10-16 20:25:30.149999', NULL, NULL, 'application/x-gzip')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 118ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_file_size", "assetable_type", "data_file_name", "updated_at", "data", "created_at", "height", "width", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 6823, NULL, 'rails_tar.gz', '2011-10-16 20:25:30.260889', NULL, '2011-10-16 20:25:30.260889', NULL, NULL, 'application/x-gzip')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 102ms (Views: 0.5ms | ActiveRecord: 1.1ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_file_size", "assetable_type", "data_file_name", "updated_at", "data", "created_at", "height", "width", "data_content_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 6823, NULL, 'rails_tar.gz', '2011-10-16 20:25:30.371938', NULL, '2011-10-16 20:25:30.371938', NULL, NULL, 'application/x-gzip')
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#index as HTML
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "updated_at", "data", "created_at", "width", "data_file_size", "data_content_type", "assetable_type", "type", "data_file_name") VALUES (NULL, 64, '2011-10-16 20:25:49.707271', NULL, '2011-10-16 20:25:49.707271', 50, 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png')[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xba2b8bc @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-5767-1kiuata-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "updated_at", "data", "created_at", "width", "data_file_size", "data_content_type", "assetable_type", "type", "data_file_name") VALUES (NULL, 64, '2011-10-16 20:25:49.917852', NULL, '2011-10-16 20:25:49.917852', 50, 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (40.2ms)[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", Thu, 05 Jan 2012 11:06:12 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", Thu, 05 Jan 2012 11:06:12 UTC +00:00], ["width", nil]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 202ms (Views: 1.1ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb9f62e8 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-5767-1000gr9-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "updated_at", "data", "created_at", "width", "data_file_size", "data_content_type", "assetable_type", "type", "data_file_name") VALUES (NULL, 64, '2011-10-16 20:25:50.128327', NULL, '2011-10-16 20:25:50.128327', 50, 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png')
[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5363-nw54aq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5363-nw54aq.png[0]' -resize "800>" '/tmp/stream20120105-5363-nw54aq20120105-5363-2lnz1c'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5363-nw54aq.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-5363-nw54aq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-5363-nw54aq20120105-5363-1ao78ob'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-5363-nw54aq.png[0]'
- [1m[35mSQL (1.0ms)[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", Thu, 05 Jan 2012 11:06:12 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 11:06:12 UTC +00:00], ["width", 50]]
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "updated_at", "data", "created_at", "width", "data_file_size", "data_content_type", "assetable_type", "type", "data_file_name") VALUES (NULL, 64, '2011-10-16 20:25:50.317300', NULL, '2011-10-16 20:25:50.317300', 50, 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png')[0m
[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "updated_at", "data", "created_at", "width", "data_file_size", "data_content_type", "assetable_type", "type", "data_file_name") VALUES (NULL, 64, '2011-10-16 20:25:50.516491', NULL, '2011-10-16 20:25:50.516491', 50, 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png')[0m
+[paperclip] Saving attachments.
[paperclip] saving /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[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (42.7ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 173ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "info", "updated_at") VALUES ('content', 'test', '2011-10-16 20:25:50.734235', 'info', '2011-10-16 20:25:50.734235')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-05 13:18:42 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.4ms)
-Rendered posts/new.html.erb within layouts/application (41.9ms)
-Completed 200 OK in 83ms (Views: 83.0ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Thu, 05 Jan 2012 11:18:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.8ms)
+Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "info", "updated_at") VALUES ('content', 'test', '2011-10-16 20:25:50.773481', 'info', '2011-10-16 20:25:50.773481')
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:18:42 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Rendered posts/index.html.erb within layouts/application (3.0ms)
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Thu, 05 Jan 2012 11:18:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "title", "created_at", "info", "updated_at") VALUES ('content', 'test', '2011-10-16 20:25:50.790505', 'info', '2011-10-16 20:25:50.790505')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:18:42 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Rendered posts/index.html.erb within layouts/application (2.1ms)
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:18:42 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "title", "created_at", "info", "updated_at") VALUES ('content', 'test', '2011-10-16 20:25:50.805268', 'info', '2011-10-16 20:25:50.805268')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-05 13:18:42 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.1ms)
-Rendered posts/edit.html.erb within layouts/application (5.0ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.2ms)
+Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (38.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "height", "data_file_size", "created_at", "assetable_id", "data", "updated_at", "data_content_type", "type", "assetable_type") VALUES ('rails_tar.gz', NULL, NULL, 6823, '2011-10-16 20:40:28.706613', NULL, NULL, '2011-10-16 20:40:28.706613', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa3e5cb0 @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-5861-115kx8v-0>, @original_filename="rails.tar.gz">, "CKEditor"=>"ckeditor_field"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "height", "data_file_size", "created_at", "assetable_id", "data", "updated_at", "data_content_type", "type", "assetable_type") VALUES ('rails_tar.gz', NULL, NULL, 6823, '2011-10-16 20:40:28.806545', NULL, NULL, '2011-10-16 20:40:28.806545', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Rendered text template (0.0ms)
+Completed 200 OK in 62ms (Views: 2.7ms | ActiveRecord: 2.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa33615c @content_type="application/x-gzip", @tempfile=#<File:/tmp/rails.tar.gz20111016-5861-gte0cd-0>, @original_filename="rails.tar.gz">}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "width", "height", "data_file_size", "created_at", "assetable_id", "data", "updated_at", "data_content_type", "type", "assetable_type") VALUES ('rails_tar.gz', NULL, NULL, 6823, '2011-10-16 20:40:29.104042', NULL, NULL, '2011-10-16 20:40:29.104042', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 286ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>"rails.tar.gz"}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "height", "data_file_size", "created_at", "assetable_id", "data", "updated_at", "data_content_type", "type", "assetable_type") VALUES ('rails_tar.gz', NULL, NULL, 6823, '2011-10-16 20:40:29.180124', NULL, NULL, '2011-10-16 20:40:29.180124', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+Completed 200 OK in 67ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "width", "height", "data_file_size", "created_at", "assetable_id", "data", "updated_at", "data_content_type", "type", "assetable_type") VALUES ('rails_tar.gz', NULL, NULL, 6823, '2011-10-16 20:40:29.298913', NULL, NULL, '2011-10-16 20:40:29.298913', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+Redirected to http://test.host/ckeditor/attachment_files
+Completed 302 Found in 12ms
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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" = '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.2ms)
+Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "updated_at", "type", "width", "assetable_id", "data_file_size", "height", "data", "created_at", "assetable_type") VALUES ('rails.png', 'image/png', '2011-10-16 20:40:47.669184', 'Ckeditor::Picture', 50, NULL, 6646, 64, NULL, '2011-10-16 20:40:47.669184', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa2236fc @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-5861-p7v345-0>, @original_filename="rails.png">, "CKEditor"=>"ckeditor_field"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "updated_at", "type", "width", "assetable_id", "data_file_size", "height", "data", "created_at", "assetable_type") VALUES ('rails.png', 'image/png', '2011-10-16 20:40:47.991270', 'Ckeditor::Picture', 50, NULL, 6646, 64, NULL, '2011-10-16 20:40:47.991270', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 315ms (Views: 1.1ms | ActiveRecord: 1.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa541ed8 @content_type="image/png", @tempfile=#<File:/tmp/rails.png20111016-5861-16cdak1-0>, @original_filename="rails.png">}
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "updated_at", "type", "width", "assetable_id", "data_file_size", "height", "data", "created_at", "assetable_type") VALUES ('rails.png', 'image/png', '2011-10-16 20:40:48.190328', 'Ckeditor::Picture', 50, NULL, 6646, 64, NULL, '2011-10-16 20:40:48.190328', NULL)
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 187ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>"rails.png"}
+ [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "updated_at", "type", "width", "assetable_id", "data_file_size", "height", "data", "created_at", "assetable_type") VALUES ('rails.png', 'image/png', '2011-10-16 20:40:48.378929', 'Ckeditor::Picture', 50, NULL, 6646, 64, NULL, '2011-10-16 20:40:48.378929', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+Completed 200 OK in 177ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "updated_at", "type", "width", "assetable_id", "data_file_size", "height", "data", "created_at", "assetable_type") VALUES ('rails.png', 'image/png', '2011-10-16 20:40:48.578600', 'Ckeditor::Picture', 50, NULL, 6646, 64, NULL, '2011-10-16 20:40:48.578600', NULL)[0m
+[paperclip] Saving attachments.
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#destroy as HTML
+ Parameters: {"id"=>1}
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+[paperclip] Deleting attachments.
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+Redirected to http://test.host/ckeditor/pictures
+Completed 302 Found in 11ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#index as HTML
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = '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.7ms)
+Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.4ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "content", "info", "updated_at") VALUES ('test', '2011-10-16 20:40:48.635314', 'content', 'info', '2011-10-16 20:40:48.635314')
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-05 13:19:36 +0200
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 23:40:48 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.4ms)
-Rendered posts/new.html.erb within layouts/application (40.2ms)
-Completed 200 OK in 81ms (Views: 80.6ms | ActiveRecord: 0.0ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[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", Thu, 05 Jan 2012 11:19:36 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.7ms)
+Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "content", "info", "updated_at") VALUES ('test', '2011-10-16 20:40:48.674611', 'content', 'info', '2011-10-16 20:40:48.674611')
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:19:36 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:40:48 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Rendered posts/index.html.erb within layouts/application (2.8ms)
-Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [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", Thu, 05 Jan 2012 11:19:36 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "created_at", "content", "info", "updated_at") VALUES ('test', '2011-10-16 20:40:48.691821', 'content', 'info', '2011-10-16 20:40:48.691821')[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:19:36 +0200
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:40:48 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Rendered posts/index.html.erb within layouts/application (2.1ms)
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:19:36 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "created_at", "content", "info", "updated_at") VALUES ('test', '2011-10-16 20:40:48.706380', 'content', 'info', '2011-10-16 20:40:48.706380')
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-05 13:19:36 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at Sun Oct 16 23:40:48 +0300 2011
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (2.9ms)
-Rendered posts/edit.html.erb within layouts/application (4.4ms)
-Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms)
- [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
+Rendered posts/_form.html.erb (5.6ms)
+Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (6.9ms)[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", Thu, 05 Jan 2012 11:47:01 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", Thu, 05 Jan 2012 11:47:01 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (9.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[paperclip] saving /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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.3ms)[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:0xa6317a8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-6117-1xnlokw>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb2100b0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120113-6112-rb3jw1>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 11:47:01 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", Thu, 05 Jan 2012 11:47:01 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 155ms (Views: 47.2ms | ActiveRecord: 1.7ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 196ms (Views: 101.0ms | ActiveRecord: 1.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]]
+ [1m[35mSQL (0.4ms)[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.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [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#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa585624 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-6117-1i1kxt8>>, "use_route"=>"ckeditor"}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa968160 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120113-6112-1flr5tf>>, "use_route"=>"ckeditor"}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Thu, 05 Jan 2012 11:47:01 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", Thu, 05 Jan 2012 11:47:01 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (1.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:03:53 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[paperclip] saving /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
-Completed 200 OK in 93ms (Views: 0.7ms | ActiveRecord: 1.6ms)
+Completed 200 OK in 55ms (Views: 0.6ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [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]]
+ [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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [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#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 11:47:01 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", Thu, 05 Jan 2012 11:47:01 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:54 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:03:54 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 104ms (Views: 0.4ms | ActiveRecord: 1.7ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 1.7ms)
+ [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]]
+ [1m[35mSQL (0.3ms)[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.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.2ms)[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", Thu, 05 Jan 2012 11:47:01 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", Thu, 05 Jan 2012 11:47:01 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:54 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:03:54 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [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", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[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.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [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]]
+ [1m[35mSQL (0.3ms)[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 45ms
+Completed 302 Found in 83ms
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.4ms)[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 (0.8ms)
-Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
+Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 0.4ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[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, "use_route"=>"ckeditor"}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1e0sa9c.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1e0sa9c.png[0]' -resize "800>" '/tmp/stream20120105-6117-1e0sa9c20120105-6117-1b0ixwo'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1e0sa9c.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1e0sa9c.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6117-1e0sa9c20120105-6117-etrnsc'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1e0sa9c.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 11:47: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", Thu, 05 Jan 2012 11:47:02 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 5ms (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')
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-xs5fw.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-xs5fw.png[0]' -resize "800>" '/tmp/stream20120113-6112-xs5fw20120113-6112-ujk8pe'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-xs5fw.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-xs5fw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120113-6112-xs5fw20120113-6112-1a63boa'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-xs5fw.png[0]'
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[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#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa80d900 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-6117-1lp0pyt>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1cm4qrm.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1cm4qrm.png[0]' -resize "800>" '/tmp/stream20120105-6117-1cm4qrm20120105-6117-1qo6vhj'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1cm4qrm.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1cm4qrm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6117-1cm4qrm20120105-6117-qwopes'
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb2140d4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120113-6112-18nhk0j>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-wo23f6.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-wo23f6.png[0]' -resize "800>" '/tmp/stream20120113-6112-wo23f620120113-6112-2tywyf'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-wo23f6.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-wo23f6.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120113-6112-wo23f620120113-6112-hbbkpa'
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1cm4qrm.png[0]'
- [1m[35mSQL (1.2ms)[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", Thu, 05 Jan 2012 11:47: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", Thu, 05 Jan 2012 11:47:02 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-wo23f6.png[0]'
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 225ms (Views: 41.1ms | ActiveRecord: 1.4ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 233ms (Views: 3.7ms | ActiveRecord: 1.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]]
+ [1m[36mSQL (0.4ms)[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [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#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5792ac @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-6117-hxtiqr>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1nog0z1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1nog0z1.png[0]' -resize "800>" '/tmp/stream20120105-6117-1nog0z120120105-6117-6duzq3'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1nog0z1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-1nog0z1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6117-1nog0z120120105-6117-ib1qgv'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-1nog0z1.png[0]'
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 11:47: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", Thu, 05 Jan 2012 11:47:02 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xadeaa1c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120113-6112-l0m5eg>>, "use_route"=>"ckeditor"}
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-16kv67b.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-16kv67b.png[0]' -resize "800>" '/tmp/stream20120113-6112-16kv67b20120113-6112-445uzb'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-16kv67b.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-16kv67b.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120113-6112-16kv67b20120113-6112-v1byl7'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-16kv67b.png[0]'
+ [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 165ms (Views: 0.5ms | ActiveRecord: 1.6ms)
- [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.0ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 169ms (Views: 0.7ms | ActiveRecord: 1.6ms)
+ [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]]
+ [1m[35mSQL (0.3ms)[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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [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"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-yh5osp.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-yh5osp.png[0]' -resize "800>" '/tmp/stream20120105-6117-yh5osp20120105-6117-fajki4'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-yh5osp.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-yh5osp.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6117-yh5osp20120105-6117-13a08w5'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-yh5osp.png[0]'
- [1m[35mSQL (0.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", Thu, 05 Jan 2012 11:47: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", Thu, 05 Jan 2012 11:47:02 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-u86hxl.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-u86hxl.png[0]' -resize "800>" '/tmp/stream20120113-6112-u86hxl20120113-6112-phwtox'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-u86hxl.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-u86hxl.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120113-6112-u86hxl20120113-6112-7ooim9'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-u86hxl.png[0]'
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:03:55 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 177ms (Views: 0.5ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 175ms (Views: 0.7ms | ActiveRecord: 1.6ms)
[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.0ms)[0m SAVEPOINT active_record_1
+ [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]]
+ [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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-sd2pqo.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-sd2pqo.png[0]' -resize "800>" '/tmp/stream20120105-6117-sd2pqo20120105-6117-1rpcg3i'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-sd2pqo.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6117-sd2pqo.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6117-sd2pqo20120105-6117-xozwn7'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-162a4t0.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-162a4t0.png[0]' -resize "800>" '/tmp/stream20120113-6112-162a4t020120113-6112-n94xds'
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-162a4t0.png[0]'
+[32mCommand[0m :: convert '/tmp/stream20120113-6112-162a4t0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120113-6112-162a4t020120113-6112-yawfek'
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6117-sd2pqo.png[0]'
- [1m[35mSQL (1.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", Thu, 05 Jan 2012 11:47: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", Thu, 05 Jan 2012 11:47:02 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120113-6112-162a4t0.png[0]'
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [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", "use_route"=>"ckeditor"}
[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.
@@ -4448,349 +7652,262 @@
[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 12ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [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')
Processing by Ckeditor::PicturesController#index as HTML
Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.4ms)[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.4ms)
-Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 43ms (Views: 41.0ms | ActiveRecord: 0.4ms)
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [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, "use_route"=>"ckeditor"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[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.6ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-05 13:47:03 +0200
+Started GET "/posts/new" for 127.0.0.1 at 2012-01-13 13:03:56 +0200
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
+Rendered posts/_form.html.erb (6.3ms)
+Completed 200 OK in 45ms (Views: 44.1ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[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", Thu, 05 Jan 2012 11:47:03 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:47:03 +0200
+Started GET "/posts" for 127.0.0.1 at 2012-01-13 13:03:56 +0200
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms)
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[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", Thu, 05 Jan 2012 11:47:03 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 13:47:03 +0200
+Started GET "/posts" for 127.0.0.1 at 2012-01-13 13:03:56 +0200
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 11:47:03 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:03:56 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-05 13:47:03 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-13 13:03:56 +0200
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.3ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
+Rendered posts/_form.html.erb (5.0ms)
+Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.3ms)
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (7.2ms)[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", Thu, 05 Jan 2012 12:53:44 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", Thu, 05 Jan 2012 12:53:44 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36mSQL (39.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [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:0xaa40088 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-6751-oqg4m1>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa25475c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120113-6208-3bjluq>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[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", Thu, 05 Jan 2012 12:53:44 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", Thu, 05 Jan 2012 12:53:44 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 164ms (Views: 45.7ms | ActiveRecord: 0.9ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.3ms)[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.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Completed 200 OK in 133ms (Views: 57.1ms | ActiveRecord: 1.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
+ [1m[35mSQL (0.4ms)[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.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:0xb028860 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120105-6751-jv50cf>>, "use_route"=>"ckeditor"}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa252cf4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120113-6208-p7hdp7>>, "use_route"=>"ckeditor"}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (1.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", Thu, 05 Jan 2012 12:53:44 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", Thu, 05 Jan 2012 12:53:44 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mSQL (1.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:04:59 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 98ms (Views: 0.7ms | ActiveRecord: 1.6ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
+Completed 200 OK in 45ms (Views: 0.4ms | ActiveRecord: 1.8ms)
+ [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 SAVEPOINT active_record_1
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [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#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz", "use_route"=>"ckeditor"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 12:53:44 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", Thu, 05 Jan 2012 12:53:44 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 104ms (Views: 0.4ms | ActiveRecord: 1.6ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["width", nil]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 92ms (Views: 0.3ms | ActiveRecord: 1.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.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.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 12:53:44 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", Thu, 05 Jan 2012 12:53:44 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
-[paperclip] saving /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 SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["data", nil], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1", "use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[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.0ms)[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.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [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.3ms)[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 48ms
+Completed 302 Found in 56ms
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ [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 (0.8ms)
-Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.2ms)
- [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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
+Completed 200 OK in 19ms (Views: 17.3ms | 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.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 43ms (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')
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-jr720n.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-jr720n.png[0]' -resize "800>" '/tmp/stream20120105-6751-jr720n20120105-6751-ojngv7'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-jr720n.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-jr720n.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6751-jr720n20120105-6751-8h1qvu'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-jr720n.png[0]'
- [1m[35mSQL (1.1ms)[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", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xae389ec @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-6751-u3ibas>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-cil67l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-cil67l.png[0]' -resize "800>" '/tmp/stream20120105-6751-cil67l20120105-6751-6dplkl'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-cil67l.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-cil67l.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6751-cil67l20120105-6751-35t4b3'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-cil67l.png[0]'
- [1m[35mSQL (1.0ms)[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", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 214ms (Views: 3.0ms | ActiveRecord: 1.3ms)
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["width", 50]]
+ [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')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.0ms)[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 [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:0xa9cf784 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120105-6751-11fldyy>>, "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-ncgzx1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-ncgzx1.png[0]' -resize "800>" '/tmp/stream20120105-6751-ncgzx120120105-6751-orpn4o'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-ncgzx1.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-ncgzx1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6751-ncgzx120120105-6751-jvb75i'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-ncgzx1.png[0]'
- [1m[36mSQL (1.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", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9edeaa0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120113-6208-gd9rvi>>, "CKEditor"=>"ckeditor_field", "use_route"=>"ckeditor"}
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:05:00 UTC +00:00], ["width", 50]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Completed 200 OK in 199ms (Views: 3.7ms | ActiveRecord: 1.6ms)
+ [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.4ms)[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
-Completed 200 OK in 219ms (Views: 0.5ms | ActiveRecord: 1.6ms)
[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.0ms)[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
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9baf94c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120113-6208-nshlsd>>, "use_route"=>"ckeditor"}
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["width", 50]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 238ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+ [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.3ms)[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 SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [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"=>"rails.png", "use_route"=>"ckeditor"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-186eyxr.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-186eyxr.png[0]' -resize "800>" '/tmp/stream20120105-6751-186eyxr20120105-6751-x5506z'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-186eyxr.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-186eyxr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6751-186eyxr20120105-6751-fnz62h'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-186eyxr.png[0]'
- [1m[35mSQL (0.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", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 12:53:45 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 154ms (Views: 0.5ms | ActiveRecord: 1.0ms)
+Completed 200 OK in 205ms (Views: 0.4ms | ActiveRecord: 1.5ms)
[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.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
+ [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.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
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-1p67qjk.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-1p67qjk.png[0]' -resize "800>" '/tmp/stream20120105-6751-1p67qjk20120105-6751-1t6g3cp'
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-1p67qjk.png[0]'
-[32mCommand[0m :: convert '/tmp/stream20120105-6751-1p67qjk.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/stream20120105-6751-1p67qjk20120105-6751-1on18pf'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/stream20120105-6751-1p67qjk.png[0]'
- [1m[35mSQL (1.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", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["data", nil], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["width", 50]]
[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", "use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.3ms)[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.0ms)[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[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
+ [1m[36mSQL (0.4ms)[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
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 49ms
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 302 Found in 9ms
+ [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')
Processing by Ckeditor::PicturesController#index as HTML
Parameters: {"use_route"=>"ckeditor"}
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.4ms)[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.5ms)
-Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [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 [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.4ms)
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>nil, "use_route"=>"ckeditor"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)
+ [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 SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts/new" for 127.0.0.1 at 2012-01-05 14:53:46 +0200
+Started GET "/posts/new" for 127.0.0.1 at 2012-01-13 13:05:01 +0200
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
+Rendered posts/_form.html.erb (6.3ms)
+Completed 200 OK in 16ms (Views: 15.4ms | ActiveRecord: 0.0ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[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", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mSQL (0.3ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 14:53:46 +0200
+Started GET "/posts" for 127.0.0.1 at 2012-01-13 13:05:01 +0200
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms)
[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.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[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", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00]]
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/posts" for 127.0.0.1 at 2012-01-05 14:53:46 +0200
+Started GET "/posts" for 127.0.0.1 at 2012-01-13 13:05:01 +0200
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Jan 2012 12:53:46 UTC +00:00]]
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 13 Jan 2012 11:05:01 UTC +00:00]]
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-05 14:53:46 +0200
+Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-13 13:05:01 +0200
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms)
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
+Rendered posts/_form.html.erb (4.8ms)
+Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
[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