test/dummy/log/test.log in ckeditor-4.0.4 vs test/dummy/log/test.log in ckeditor-4.0.6
- old
+ new
@@ -1,13005 +1,1425 @@
- [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[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.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
-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
-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 Mon Aug 08 20:29:04 +0300 2011
- Processing by PostsController#new as HTML
-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 Mon Aug 08 20:29:04 +0300 2011
- Processing by PostsController#index as HTML
- [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 Mon Aug 08 20:29:04 +0300 2011
- Processing by PostsController#index as HTML
- [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 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" = 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[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[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 Mon Aug 08 20:37:01 +0300 2011
- Processing by PostsController#new as HTML
-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 Mon Aug 08 20:37:01 +0300 2011
- Processing by PostsController#index as HTML
- [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 Mon Aug 08 20:37:01 +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 (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 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" = 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[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
-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[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
-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[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[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[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
-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[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
-[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
-[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[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
-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[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
-[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
-[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[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
-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[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
-[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
-[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.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[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
-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[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
-[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
-[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[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
-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[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
-[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
-[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
- [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.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: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
-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[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
-[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
-[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
- [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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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", "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
-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[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[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.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[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 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}
-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: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
-[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
-[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"=>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
-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[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: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
-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[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[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.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[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
- [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: 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.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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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_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
-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[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[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.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[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 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
- [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.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}
-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: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
-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[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: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
-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[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", "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
-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[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[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.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[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
- [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: 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.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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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_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
-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[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[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.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[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 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
- [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.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}
-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: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
-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[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: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
-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[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", "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
-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[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[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.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[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 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
- [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.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", "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 2011-08-08 21:36:41 +0300
- Processing by PostsController#new as HTML
-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 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 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 2011-08-08 21:36:41 +0300
- 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.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 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" = 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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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" ("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
-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[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[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.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[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.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}
-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
-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: {"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
-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/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", "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
-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
-[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"=>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
-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
-[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
-[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 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
- [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.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}
-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 Sun Aug 14 13:34:23 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Aug 14 13:34:23 +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" ("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 Sun Aug 14 13:34:23 +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", "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 Sun Aug 14 13:34:23 +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.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[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: {"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
-Rendered text template (0.0ms)
-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[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: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
-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[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.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
-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[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[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 13ms
- [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 (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}
-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
-[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: {"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
-[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
-[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: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
-[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
-[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"=>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
-[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
-[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
-[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)
-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}
-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 Sun Oct 16 18:04:33 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 18:04:33 +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.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 Sun Oct 16 18:04:33 +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", "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 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" = 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[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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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" ("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
-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[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[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.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}
-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
- [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: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
-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/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: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
-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/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" ("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
-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/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" ("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
- [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 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
- [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.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}
-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 Sun Oct 16 18:07:56 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 18:07:56 +0300 2011
- Processing by PostsController#index as HTML
- [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 Sun Oct 16 18:07:56 +0300 2011
- Processing by PostsController#index as HTML
- [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 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" = 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[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[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: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
-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: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
-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[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" ("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
-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" ("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[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" ("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
- [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: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
-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: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
-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.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_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
-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_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
- [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 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.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"=>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 Sun Oct 16 18:13:38 +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" ("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 Sun Oct 16 18:13:38 +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.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 Sun Oct 16 18:13:38 +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.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 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" = 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[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[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: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
-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.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: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
-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" ("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
-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[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[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 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}
-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
- [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: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
-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/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: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
-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/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", "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
-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.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
- [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 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
- [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 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 Sun Oct 16 20:34: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" ("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 Sun Oct 16 20:34: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.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 Sun Oct 16 20:34: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" ("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 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" = 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[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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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" ("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
-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[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[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.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
- [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: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
-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/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: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
-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/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.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
-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/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", "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
- [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 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", "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 Sun Oct 16 20:37:37 +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.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 Sun Oct 16 20:37: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.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 Sun Oct 16 20:37: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.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 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" = 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[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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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", "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
-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[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[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.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}
-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
- [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: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
-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/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: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
-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" ("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
-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" ("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
- [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.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.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.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 Sun Oct 16 20:41:34 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 20:41:34 +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.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 Sun Oct 16 20:41:34 +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.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 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" = 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[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[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: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
-Rendered text template (0.0ms)
-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[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: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
-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[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", "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
-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[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[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.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.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
- [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: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
-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/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: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
-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.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", "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
-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", "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
- [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.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 Sun Oct 16 20:46:27 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 20:46: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.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 Sun Oct 16 20:46: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.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 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" = 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[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[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: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
-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.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: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
-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" ("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
-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_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[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: 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}
-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
- [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: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
-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: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
-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" ("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
-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/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_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
- [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.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.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" ("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 Sun Oct 16 20:50:43 +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" ("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 Sun Oct 16 20:50:43 +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.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 Sun Oct 16 20:50:43 +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" ("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 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" = 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[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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[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[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
-[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/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
-[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 Sun Oct 16 23:25:50 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 23:25: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.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 Sun Oct 16 23:25: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" ("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 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" = 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[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 Sun Oct 16 23:40:48 +0300 2011
- Processing by PostsController#new as HTML
-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 Sun Oct 16 23:40:48 +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", "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 Sun Oct 16 23:40:48 +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.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 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" = 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 (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.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: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", "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 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.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.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: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.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 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.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.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.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", "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 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.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
- [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", "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
- [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.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.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 83ms
- [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
- Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [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 (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.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: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/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 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.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.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: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 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.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.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/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.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.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-[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/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.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.
- [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
-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')
- 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
-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 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.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-13 13:03:56 +0200
- Processing by PostsController#new as HTML
-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.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: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-13 13:03:56 +0200
- Processing by PostsController#index as HTML
- [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.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", 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-13 13:03:56 +0200
- Processing by PostsController#index as HTML
- [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.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-13 13:03:56 +0200
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [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.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 (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.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: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 (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 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: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.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 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]]
- [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.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]]
- [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.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 56ms
- [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
- Processing by Ckeditor::AttachmentFilesController#index as HTML
- Parameters: {"use_route"=>"ckeditor"}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
-Completed 200 OK in 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.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')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [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')
- Processing by Ckeditor::PicturesController#create as HTML
- 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
- [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: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.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"}
- [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 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.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]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [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.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 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.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.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.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.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-13 13:05:01 +0200
- Processing by PostsController#new as HTML
-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.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-13 13:05:01 +0200
- Processing by PostsController#index as HTML
- [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.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", 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-13 13:05:01 +0200
- Processing by PostsController#index as HTML
- [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.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-13 13:05:01 +0200
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [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
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (15.7ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.3ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.0ms)[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 begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (31.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, 23 Aug 2012 10:20: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, 23 Aug 2012 10:20:36 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (11.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", Fri, 05 Jul 2013 19:34:42 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", Fri, 05 Jul 2013 19:34:42 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [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]]
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+[paperclip] deleting /Volumes/Data/mario/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.5ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.1ms)[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:0xabda600 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120823-6391-1sv9crc>>, "CKEditor"=>"ckeditor_field"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007faa24b64740 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130705-21007-1yha2gu>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20: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, 23 Aug 2012 10:20:36 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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", Fri, 05 Jul 2013 19:34:42 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", Fri, 05 Jul 2013 19:34:42 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 113ms (Views: 88.0ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 57ms (Views: 41.5ms | ActiveRecord: 0.4ms)
+ [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]]
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+[paperclip] deleting /Volumes/Data/mario/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.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[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:0x9a138b8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120823-6391-noay6e>>}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007faa217ea3b0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130705-21007-4q3mt0>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20: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, 23 Aug 2012 10:20:36 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.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", Fri, 05 Jul 2013 19:34:42 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", Fri, 05 Jul 2013 19:34:42 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[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.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20: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, 23 Aug 2012 10:20:36 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:42 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", Fri, 05 Jul 2013 19:34:42 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 58ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.5ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.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[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]]
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
+[paperclip] deleting /Volumes/Data/mario/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.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20: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, 23 Aug 2012 10:20:36 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:42 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", Fri, 05 Jul 2013 19:34:42 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [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.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 19ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.6ms)
-Completed 200 OK in 73ms (Views: 70.5ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.0ms)
+Completed 200 OK in 25ms (Views: 24.0ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (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.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1fgq256.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-1fgq256.png[0]' -resize "800>" '/tmp/rails20120823-6391-1fgq25620120823-6391-17m9sp'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1fgq256.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-1fgq256.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6391-1fgq25620120823-6391-1vioeot'
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p1.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p1.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p120130705-21007-j5m172'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p1.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p120130705-21007-1h6uciz'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1fgq256.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20:37 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, 23 Aug 2012 10:20:37 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1p5s1p1.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb17b8ac @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120823-6391-2mlre2>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-mamrh7.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-mamrh7.png[0]' -resize "800>" '/tmp/rails20120823-6391-mamrh720120823-6391-1oh7m9q'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-mamrh7.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-mamrh7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6391-mamrh720120823-6391-ao3t86'
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007faa249e2f98 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130705-21007-et6xpi>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq20130705-21007-6mibxn'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq20130705-21007-2nd6bh'
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-mamrh7.png[0]'
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20:37 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, 23 Aug 2012 10:20:37 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-10hjxgq.png[0]'
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 99ms (Views: 1.3ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+Completed 200 OK in 112ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
[1m[36m (0.1ms)[0m [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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>#<Rack::Test::UploadedFile:0xb160048 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120823-6391-2z55f6>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1yvtgtm.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-1yvtgtm.png[0]' -resize "800>" '/tmp/rails20120823-6391-1yvtgtm20120823-6391-1w237r4'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1yvtgtm.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-1yvtgtm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6391-1yvtgtm20120823-6391-jcxkuq'
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007faa24b7e988 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130705-21007-t3v4ri>>}
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb5.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb5.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb520130705-21007-1q7et6e'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb5.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb5.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb520130705-21007-9arqmk'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-1yvtgtm.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20:37 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, 23 Aug 2012 10:20:37 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-c9iyb5.png[0]'
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 153ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 152ms (Views: 0.5ms | ActiveRecord: 0.7ms)
+ [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]]
+ [1m[36mSQL (0.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/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 [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [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"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-q5hnjo.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-q5hnjo.png[0]' -resize "800>" '/tmp/rails20120823-6391-q5hnjo20120823-6391-1hjcb6c'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-q5hnjo.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-q5hnjo.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6391-q5hnjo20120823-6391-1jqgxk'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg0.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg0.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg020130705-21007-1xkl3kj'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg0.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg020130705-21007-j1cxh5'
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-q5hnjo.png[0]'
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20:37 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, 23 Aug 2012 10:20:37 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-1nxdkg0.png[0]'
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 102ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 112ms (Views: 0.6ms | ActiveRecord: 0.7ms)
+ [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] 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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-egxqc8.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-egxqc8.png[0]' -resize "800>" '/tmp/rails20120823-6391-egxqc820120823-6391-46sb8v'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-egxqc8.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6391-egxqc8.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6391-egxqc820120823-6391-10v9hhm'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d20130705-21007-ah2mu5'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d20130705-21007-1n3dqes'
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6391-egxqc8.png[0]'
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130705-21007-je4m2d.png[0]'
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>"1"}
[1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[35mSQL (0.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 25ms (Views: 22.2ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (67.9ms)
-Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:20:38 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.2ms)
-Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (7.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, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb271004 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120823-6517-tt14z9>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 78ms (Views: 64.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb2242e0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120823-6517-s7tgtu>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 58ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.7ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [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"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.6ms)
-Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
+ [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.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-17xcayt.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-17xcayt.png[0]' -resize "800>" '/tmp/rails20120823-6517-17xcayt20120823-6517-19t61ja'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-17xcayt.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-17xcayt.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6517-17xcayt20120823-6517-1g3zql'
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-17xcayt.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 05 Jul 2013 19:34:43 UTC +00:00]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbad55b0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120823-6517-a4ffbz>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-106sak3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-106sak3.png[0]' -resize "800>" '/tmp/rails20120823-6517-106sak320120823-6517-1pwha2c'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-106sak3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-106sak3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6517-106sak320120823-6517-19j2b2a'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-106sak3.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 99ms (Views: 1.3ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbae1a04 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120823-6517-hm1kvl>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-hjmp8u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-hjmp8u.png[0]' -resize "800>" '/tmp/rails20120823-6517-hjmp8u20120823-6517-eq84v3'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-hjmp8u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-hjmp8u.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6517-hjmp8u20120823-6517-1hg3pns'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-hjmp8u.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23: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, 23 Aug 2012 10:23:47 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 156ms (Views: 0.6ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-16tnuq9.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-16tnuq9.png[0]' -resize "800>" '/tmp/rails20120823-6517-16tnuq920120823-6517-gy37ed'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-16tnuq9.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-16tnuq9.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6517-16tnuq920120823-6517-18r5s5u'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-16tnuq9.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", Thu, 23 Aug 2012 10:23:48 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, 23 Aug 2012 10:23:48 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 103ms (Views: 0.7ms | ActiveRecord: 1.1ms)
- [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-wxr5hr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-wxr5hr.png[0]' -resize "800>" '/tmp/rails20120823-6517-wxr5hr20120823-6517-1jy0xwk'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-wxr5hr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20120823-6517-wxr5hr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20120823-6517-wxr5hr20120823-6517-sagln7'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20120823-6517-wxr5hr.png[0]'
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 23 Aug 2012 10:23:48 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, 23 Aug 2012 10:23:48 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (66.2ms)
-Completed 200 OK in 74ms (Views: 72.9ms | ActiveRecord: 0.0ms)
+ Rendered posts/_form.html.erb (5.1ms)
+Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 23 Aug 2012 10:23:48 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.2ms)
-Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (11.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (31.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", Mon, 03 Sep 2012 11:02:03 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", Mon, 03 Sep 2012 11:02:03 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9c79d00 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120903-8425-56xzaq>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 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", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 140ms (Views: 86.4ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9a942d8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20120903-8425-evc4ju>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 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", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.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", Mon, 03 Sep 2012 11:02:04 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", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.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", Mon, 03 Sep 2012 11:02:04 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", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 60ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
-Completed 200 OK in 151ms (Views: 148.7ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 51ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [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", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ceda34 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120903-8425-l9vk3g>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:04 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 160ms (Views: 1.4ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa175390 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20120903-8425-xv7z6g>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 207ms (Views: 0.6ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.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", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 164ms (Views: 0.4ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.4ms)
-Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Fri, 05 Jul 2013 19:34:44 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 05 Jul 2013 19:34:44 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 53ms (Views: 50.7ms | ActiveRecord: 0.2ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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", Fri, 05 Jul 2013 19:34:44 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 05 Jul 2013 19:34:44 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 03 Sep 2012 11:02:05 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Fri, 05 Jul 2013 19:34:44 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Fri, 05 Jul 2013 19:34:44 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.5ms)
-Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (2.7ms)
+Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.0ms)[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 begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (79.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:31 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:12:31 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
+ [1m[35mSQL (3.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 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb1f0828 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-4gpwxo>>, "CKEditor"=>"ckeditor_field"}
-Completed 500 Internal Server Error in 65ms
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa297674 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25328-1fsy0tz>>}
-Completed 500 Internal Server Error in 2ms
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
-Completed 500 Internal Server Error in 2ms
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:32 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:12:32 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
+ [1m[35m (0.0ms)[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.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 153ms (ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.6ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc[0m
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.3ms)
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
-Completed 500 Internal Server Error in 1ms
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "800>" '/tmp/rails20130106-25328-1eyn0a020130106-25328-jwrs2e'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1eyn0a0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1eyn0a020130106-25328-11u31uy'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1eyn0a0.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fbbdedfa178 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-29413-ryx85n>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc80e14 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-sq3sqg>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "800>" '/tmp/rails20130106-25328-1bt4v8x20130106-25328-15tn7la'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1bt4v8x.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1bt4v8x.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1bt4v8x20130106-25328-1sy8u4i'
-Completed 500 Internal Server Error in 75ms
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xc134258 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25328-a3n6in>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "800>" '/tmp/rails20130106-25328-1xn72wr20130106-25328-1bv19ku'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-1xn72wr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-1xn72wr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-1xn72wr20130106-25328-1goc5at'
-Completed 500 Internal Server Error in 134ms
- [1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "800>" '/tmp/rails20130106-25328-10zwifz20130106-25328-z1gmlq'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-10zwifz.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-10zwifz.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-10zwifz20130106-25328-113kyke'
-Completed 500 Internal Server Error in 95ms
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "800>" '/tmp/rails20130106-25328-17jr67p20130106-25328-1rmit85'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25328-17jr67p.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25328-17jr67p20130106-25328-1e85sth'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25328-17jr67p.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1[0m [["id", "1"]]
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc[0m
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 29ms (Views: 27.0ms | ActiveRecord: 0.3ms)
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
-Completed 500 Internal Server Error in 1ms
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:33 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.8ms)
-Completed 200 OK in 81ms (Views: 80.4ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:12:34 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.6ms)
-Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa31f240 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-1uz5lcz>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 252ms (Views: 72.3ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa42f1f8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25413-i2acl6>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+Completed 200 OK in 60ms (Views: 43.6ms | ActiveRecord: 0.4ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:13:19 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "800>" '/tmp/rails20130106-25413-i5kld20130106-25413-mensfs'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-i5kld.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-i5kld20130106-25413-1irigvi'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-i5kld.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb4abdd8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-vj2zu7>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "800>" '/tmp/rails20130106-25413-4gedp920130106-25413-45sgrj'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-4gedp9.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-4gedp920130106-25413-1y5uqc9'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-4gedp9.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d81ba8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25413-16wj64h>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "800>" '/tmp/rails20130106-25413-1i6o7up20130106-25413-1lzoz9s'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-1i6o7up.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-1i6o7up20130106-25413-1iqui7q'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-1i6o7up.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 100ms (Views: 0.8ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "800>" '/tmp/rails20130106-25413-pi9btd20130106-25413-13m2xbe'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-pi9btd.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-pi9btd20130106-25413-yji16a'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-pi9btd.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "800>" '/tmp/rails20130106-25413-7ip0cm20130106-25413-1wnvplj'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25413-7ip0cm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25413-7ip0cm20130106-25413-15mfl1n'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25413-7ip0cm.png[0]'
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.5ms)
-Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[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
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:13:20 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa97291c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-nvjgj6>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 192ms (Views: 66.8ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fbbded56cf8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-29413-1av5cg0>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[35mSQL (0.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 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa34c6b4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25520-dhrn3c>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:14:51 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 22ms (Views: 19.9ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[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[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "800>" '/tmp/rails20130106-25520-8lfj9120130106-25520-1jnyj66'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-8lfj91.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-8lfj9120130106-25520-ohw4wt'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-8lfj91.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbc01858 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-frz57x>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "800>" '/tmp/rails20130106-25520-15gphc120130106-25520-u5654w'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-15gphc1.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-15gphc120130106-25520-pqait4'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-15gphc1.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 163ms (Views: 1.4ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3f6cb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25520-12ezie8>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "800>" '/tmp/rails20130106-25520-1ewmshb20130106-25520-1257myj'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-1ewmshb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-1ewmshb20130106-25520-17xtgjs'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-1ewmshb.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "800>" '/tmp/rails20130106-25520-mnkzds20130106-25520-1u6k9hw'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-mnkzds.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-mnkzds20130106-25520-1uzgt79'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-mnkzds.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 102ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "800>" '/tmp/rails20130106-25520-nr6mqb20130106-25520-1xp7r77'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25520-nr6mqb.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25520-nr6mqb20130106-25520-awmcgo'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25520-nr6mqb.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:52 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (8.1ms)
-Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:14:53 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.1ms)
-Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (56.8ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:26 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:26 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a41a4c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-h7wf6z>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 193ms (Views: 67.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x981bb50 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25611-cseptc>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (0.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 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.4ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
+ [1m[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
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (0.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 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[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]]
-[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[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.1ms)
+Completed 200 OK in 51ms (Views: 49.2ms | ActiveRecord: 0.2ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (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 [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "800>" '/tmp/rails20130106-25611-1xfr93y20130106-25611-2udqmf'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1xfr93y.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1xfr93y20130106-25611-1aofw4h'
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1xfr93y.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:09: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 Sep 2013 08:09:59 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa6b7c04 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-167a7s7>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "800>" '/tmp/rails20130106-25611-rudboq20130106-25611-oy65e0'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-rudboq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-rudboq20130106-25611-1v0ttf7'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-rudboq.png[0]'
- [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 1.0ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d32300 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25611-1umvf4r>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "800>" '/tmp/rails20130106-25611-1boq48u20130106-25611-1g2v21m'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1boq48u.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1boq48u20130106-25611-1nrxkto'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1boq48u.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:27 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
+ [1m[35m (0.0ms)[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
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [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"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "800>" '/tmp/rails20130106-25611-1coo36220130106-25611-1y06lj8'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-1coo362.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-1coo36220130106-25611-1k8abff'
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fbbdeb03c30 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-29413-1kbv7nf>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-1coo362.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:10: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 Sep 2013 08:10:00 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 100ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "800>" '/tmp/rails20130106-25611-cwzq2a20130106-25611-wse7ab'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25611-cwzq2a.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25611-cwzq2a20130106-25611-bqx6dw'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25611-cwzq2a.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 233ms (Views: 37.5ms | ActiveRecord: 0.6ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[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
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fbbdc293278 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-29413-ezayf3>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:10: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 Sep 2013 08:10:00 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (8.0ms)
-Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:16:28 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (56.7ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa3c5e38 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-c0bgxz>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 192ms (Views: 66.9ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa0b0220 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25705-h7e44r>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:17:52 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 71ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "800>" '/tmp/rails20130106-25705-ft5jvw20130106-25705-ngjr6a'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-ft5jvw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-ft5jvw20130106-25705-2r58i'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-ft5jvw.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb0b4c48 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-yxoqs6>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "800>" '/tmp/rails20130106-25705-xlkxn720130106-25705-1256bcw'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-xlkxn7.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-xlkxn720130106-25705-1qdcpgr'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-xlkxn7.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 162ms (Views: 1.3ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 200 OK in 196ms (Views: 0.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa1fc354 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25705-rsd99r>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "800>" '/tmp/rails20130106-25705-10dnm2s20130106-25705-1nji2g'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-10dnm2s.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-10dnm2s20130106-25705-1esoqci'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-10dnm2s.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 101ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
[1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [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"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "800>" '/tmp/rails20130106-25705-1wr0wkr20130106-25705-uxaepq'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-1wr0wkr.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-1wr0wkr20130106-25705-odn9lu'
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-1wr0wkr.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:10: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 Sep 2013 08:10:00 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 101ms (Views: 0.8ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "800>" '/tmp/rails20130106-25705-15lm7j420130106-25705-1dcjhij'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130106-25705-15lm7j4.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130106-25705-15lm7j420130106-25705-14cma1x'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130106-25705-15lm7j4.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 192ms (Views: 0.4ms | ActiveRecord: 0.5ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:53 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (8.0ms)
-Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:17:54 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.2ms)
-Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8c19e74 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-wu2hoh>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x8f658a8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-25792-9v2j1h>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:24 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x8f58edc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-1nksio0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x926e590 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-25792-500cs>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 162ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 213ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:10: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 Sep 2013 08:10:00 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:25 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.8ms)
-Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:18:26 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb07cd34 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-1fu2r6i>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 134ms (Views: 63.9ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xaf4f204 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26007-160w2qv>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:30:00 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 82ms (Views: 79.6ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[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::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 [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb67af4c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-49ib3c>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 214ms (Views: 1.4ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa99b394 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26007-whaelg>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:01 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 210ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.8ms)
-Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
+ Rendered posts/_form.html.erb (9.8ms)
+Completed 200 OK in 19ms (Views: 18.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mSQL (0.1ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
+Completed 500 Internal Server Error in 11ms
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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 Sep 2013 08:10:00 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 500 Internal Server Error in 7ms
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:30:02 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:10:00 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (2.9ms)
+Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[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.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
[1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (3.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", Thu, 05 Sep 2013 08:46:11 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 Sep 2013 08:46:11 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.0ms)[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]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa599854 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1p6rtl2>>, "CKEditor"=>"ckeditor_field"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fe14cf7ead8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30276-2g8l4l>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:46:11 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 Sep 2013 08:46:11 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 134ms (Views: 63.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 61ms (Views: 44.5ms | ActiveRecord: 0.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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9a1c01c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26200-1xy98vi>>}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fe14c829f80 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30276-1m4vrcs>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.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 Sep 2013 08:46:11 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 Sep 2013 08:46:11 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[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[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:46:11 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 Sep 2013 08:46:11 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.3ms)
[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[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:35:56 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:46:11 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 Sep 2013 08:46:11 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [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[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 82ms (Views: 79.5ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.0ms)
+Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (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.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:46: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 Sep 2013 08:46:12 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.0ms)[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]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [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: {"upload"=>#<Rack::Test::UploadedFile:0xa303374 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1pb927p>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 218ms (Views: 1.3ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa3aba9c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26200-1k7d22v>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 166ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fe14cef47c0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30276-1f87wyg>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:46: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 Sep 2013 08:46:12 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+Completed 200 OK in 226ms (Views: 35.7ms | ActiveRecord: 0.8ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 219ms (Views: 0.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:35:57 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fe14a945790 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30276-ux47yo>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:46: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 Sep 2013 08:46:12 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.7ms)
-Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:35:58 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (4.9ms)
-Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a60320 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-w0xd4k>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 135ms (Views: 63.8ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9c791e8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26420-metqyc>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
-Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9a5eca0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-1l1ty45>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:38 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 216ms (Views: 1.3ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 200 OK in 190ms (Views: 0.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x90caea0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26420-okuxp2>>}
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 168ms (Views: 0.6ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>"rails.png"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:46: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 Sep 2013 08:46:12 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 162ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 191ms (Views: 0.4ms | ActiveRecord: 0.5ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["width", 50]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:46: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 Sep 2013 08:46:12 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
+Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[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::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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.4ms)
-Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
+ Rendered posts/_form.html.erb (9.7ms)
+Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mSQL (0.1ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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 Sep 2013 08:46:13 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:42:39 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:46:13 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (4.9ms)
-Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (2.6ms)
+Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[35m (0.1ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
+ [1m[35m (0.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 begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:54 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:54 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (2.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x9ad7484 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-b27p91>>, "CKEditor"=>"ckeditor_field"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fd19ecb2858 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30380-g7yq2>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 134ms (Views: 63.0ms | ActiveRecord: 0.6ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 55ms (Views: 39.8ms | ActiveRecord: 0.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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa2be3f0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130106-26931-kgq8j>>}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fd19b880418 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30380-1h5r1vz>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.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 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", nil]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[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[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails.tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", nil]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 81ms (Views: 79.1ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.0ms)
+Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (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.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.0ms)[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]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [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: {"upload"=>#<Rack::Test::UploadedFile:0x9ad3bb8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-a94cw0>>, "CKEditor"=>"ckeditor_field"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fd19eb74310 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30380-19b89s2>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:55 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:16 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 212ms (Views: 1.3ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 223ms (Views: 36.8ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>#<Rack::Test::UploadedFile:0x9d5ba0c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130106-26931-14b2p9o>>}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fd19b9750a8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30380-q0ekrm>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:17 UTC +00:00], ["width", 50]]
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 160ms (Views: 0.7ms | ActiveRecord: 0.7ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 191ms (Views: 0.6ms | ActiveRecord: 0.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
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [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"=>"rails.png"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:17 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 156ms (Views: 0.5ms | ActiveRecord: 0.6ms)
+Completed 200 OK in 189ms (Views: 0.4ms | ActiveRecord: 0.5ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["width", 50]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08:49: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 Sep 2013 08:49:17 UTC +00:00], ["width", 50]]
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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
[1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.2ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
-Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+Processing by Ckeditor::PicturesController#index as HTML
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
+Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.1ms)
+ [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.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.8ms)
-Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
+ Rendered posts/_form.html.erb (9.4ms)
+Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Sat, 05 Jan 2013 22:56:56 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Processing by PostsController#index as HTML
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (14.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (28.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", Mon, 28 Jan 2013 10:19:44 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:44 UTC +00:00], ["width", nil]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa706a34 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-3894-1p21ivc>>, "CKEditor"=>"ckeditor_field"}
- [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", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 500 Internal Server Error in 119ms
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa595ccc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-3894-1c6w94x>>}
- [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", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 500 Internal Server Error in 6ms
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [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"=>"rails.tar.gz"}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 500 Internal Server Error in 6ms
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", nil], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Mon, 28 Jan 2013 10:19:45 UTC +00:00], ["width", nil]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[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 [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc[0m
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 302ms (Views: 299.1ms | ActiveRecord: 0.3ms)
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [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 10ms (Views: 3.9ms | 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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:19:46 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:46 UTC +00:00], ["width", 50]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa8dc318 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-3894-jdextj>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[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", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 500 Internal Server Error in 216ms
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x9b4c5e0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-3894-mj2me7>>}
- [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", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 500 Internal Server Error in 163ms
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [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", false], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 500 Internal Server Error in 160ms
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m 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", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", nil], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["width", 50]]
-SQLite3::ConstraintException: ckeditor_assets.data_file_name may not be NULL: 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
- [1m[35m (0.1ms)[0m ROLLBACK TO 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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 0.4ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.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.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.9ms)
-Completed 200 OK in 32ms (Views: 31.1ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
- [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 Sep 2013 08:49:17 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 0.2ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:47 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:19:48 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:19:48 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:17 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.1ms)
-Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (2.7ms)
+Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.2ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.0ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
+ [1m[36m (0.0ms)[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 begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaec69cc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4271-1c30n3r>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 156ms (Views: 75.3ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xae6742c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4271-1lek5ik>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.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", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:05 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 27ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 97ms (Views: 94.1ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaecfe50 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4271-1myicc1>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 257ms (Views: 5.7ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xabe0ec4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4271-123bfgv>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 206ms (Views: 0.8ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:23: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", Mon, 28 Jan 2013 10:23:06 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 294ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (8.0ms)
-Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m 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", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:23:07 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.4ms)
-Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (2.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa86dcb0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4581-256wg7>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 139ms (Views: 66.5ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa7eee88 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4581-1t5oped>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.5ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:13 UTC +00:00], ["width", nil]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 18ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 85ms (Views: 82.9ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.0ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [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", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa875488 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4581-1iny99k>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 218ms (Views: 1.5ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa5c5634 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4581-1yhibif>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 156ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 216ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["width", 50]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:14 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.8ms)
-Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:15 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Processing by PostsController#edit as HTML
- Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (5.4ms)
-Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.6ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (10.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", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (10.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 Sep 2013 08:49:35 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 Sep 2013 08:49:35 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [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]]
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /Volumes/Data/mario/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 [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[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:0xaf02d78 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4742-6326r9>>, "CKEditor"=>"ckeditor_field"}
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fd8ac99e530 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30449-1npk3sv>>, "CKEditor"=>"ckeditor_field"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08:49:35 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 Sep 2013 08:49:35 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
Rendered text template (0.0ms)
-Completed 200 OK in 189ms (Views: 84.9ms | ActiveRecord: 0.7ms)
+Completed 200 OK in 31ms (Views: 16.3ms | ActiveRecord: 0.4ms)
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[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[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]]
+ [1m[35mSQL (0.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa7e73b8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130128-4742-u6qv7w>>}
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fd8acfbe2f8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.tar.gz20130905-30449-24p716>>}
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
+ [1m[35mSQL (0.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 Sep 2013 08:49:35 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 Sep 2013 08:49:35 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 13ms (Views: 0.6ms | ActiveRecord: 0.7ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+Completed 200 OK in 37ms (Views: 0.3ms | ActiveRecord: 0.4ms)
+ [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]]
+ [1m[36mSQL (0.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.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 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.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
+Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.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]]
+ [1m[35mSQL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+[paperclip] deleting /Volumes/Data/mario/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.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.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", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", nil]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", nil]]
[paperclip] Saving attachments.
[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
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
Processing by Ckeditor::AttachmentFilesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[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]]
+ [1m[35mSQL (0.1ms)[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 90ms (ActiveRecord: 0.0ms)
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
+ [1m[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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.9ms)
-Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.0ms)
+Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+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')
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.2ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-wef2vq.png[0]' -resize "800>" '/tmp/rails20130128-4742-wef2vq20130128-4742-cyuw84'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-wef2vq.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-wef2vq20130128-4742-et3isq'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-wef2vq.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", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:47 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa20130905-30449-1yey8cs'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa20130905-30449-7ounou'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1q505oa.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 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [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]]
+ [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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
[1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [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: {"upload"=>#<Rack::Test::UploadedFile:0xb50d484 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4742-1xcstuj>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-18tdgi3.png[0]' -resize "800>" '/tmp/rails20130128-4742-18tdgi320130128-4742-c7ou22'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-18tdgi3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-18tdgi320130128-4742-1cndiqt'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-18tdgi3.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", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile:0x007fd8aab34d60 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30449-1hmng3h>>, "CKEditor"=>"ckeditor_field"}
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv0.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv0.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv020130905-30449-1cfjda8'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv0.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv0.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv020130905-30449-1eb0mt'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1kdjyv0.png[0]'
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
- [1m[35m (0.8ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 147ms (Views: 1.4ms | ActiveRecord: 1.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Completed 200 OK in 109ms (Views: 1.0ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.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] 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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>#<Rack::Test::UploadedFile:0xbb9dcf4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130128-4742-ii8puo>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-cpnunc.png[0]' -resize "800>" '/tmp/rails20130128-4742-cpnunc20130128-4742-h9fl39'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-cpnunc.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-cpnunc20130128-4742-1hcfc1z'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-cpnunc.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
+ Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0x007fd8aad57ca0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails.png20130905-30449-1houlha>>}
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm20130905-30449-c5s9lm'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm20130905-30449-1f9gdd5'
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-oxptmm.png[0]'
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 179ms (Views: 0.8ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 109ms (Views: 0.6ms | ActiveRecord: 0.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]]
[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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [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"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-1t9hobh.png[0]' -resize "800>" '/tmp/rails20130128-4742-1t9hobh20130128-4742-1v6bwyd'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-1t9hobh.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-1t9hobh20130128-4742-8plnhb'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl20130905-30449-1072i2i'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl20130905-30449-13rwred'
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-1t9hobh.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Mon, 28 Jan 2013 10:29:48 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-2wfbjl.png[0]'
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 226ms (Views: 0.7ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Completed 200 OK in 158ms (Views: 0.5ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[36m (0.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
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-suyqw3.png[0]' -resize "800>" '/tmp/rails20130128-4742-suyqw320130128-4742-7zwua7'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130128-4742-suyqw3.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130128-4742-suyqw320130128-4742-1ky4cfy'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130128-4742-suyqw3.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Mon, 28 Jan 2013 10:29: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", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["width", 50]]
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw.png[0]' -resize "800>" '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw20130905-30449-kvvdrx'
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw.png[0]'
+[32mCommand[0m :: convert '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw20130905-30449-1xiqyr3'
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+[32mCommand[0m :: identify -format %wx%h '/var/folders/71/5yz8chj16q7b39l_4500ryfc0000gn/T/rails20130905-30449-1tquplw.png[0]'
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Thu, 05 Sep 2013 08: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 Sep 2013 08:49:36 UTC +00:00], ["width", 50]]
[paperclip] Saving attachments.
[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::Picture')[0m
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
+ [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.1ms)[0m [1mSAVEPOINT active_record_1[0m
[paperclip] Scheduling attachments for deletion.
[1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[paperclip] deleting /Volumes/Data/mario/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+ Rendered /Volumes/Data/mario/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)
+ [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 rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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: {"qqfile"=>nil}
+ [1m[36m (0.0ms)[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::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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT 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 Sep 2013 08:49:37 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#new as HTML
- Rendered posts/_form.html.erb (7.5ms)
-Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.0ms)
+ Rendered posts/_form.html.erb (10.4ms)
+Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mSQL (0.1ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mbegin transaction[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 Sep 2013 08:49:37 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00]]
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" [0m
-Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = ?[0m [["id", 1]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Mon, 28 Jan 2013 10:29:49 UTC +00:00]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" [0m
+Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.0ms)[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 [1mrollback transaction[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO "posts" ("content", "created_at", "info", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "content"], ["created_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00], ["info", "info"], ["title", "test"], ["updated_at", Thu, 05 Sep 2013 08:49:37 UTC +00:00]]
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
Processing by PostsController#edit as HTML
Parameters: {"id"=>"1"}
- [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
- Rendered posts/_form.html.erb (6.1ms)
-Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.3ms)
+ [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered posts/_form.html.erb (2.6ms)
+Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.1ms)
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m rollback transaction
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
[1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xaf74b6c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130403-10939-n27kov>>, "CKEditor"=>"ckeditor_field"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (29.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:26 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Wed, 03 Apr 2013 07:31:26 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Rendered text template (0.0ms)
-Completed 200 OK in 705ms (Views: 116.8ms | ActiveRecord: 29.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[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.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
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xba109f4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20130403-10939-kmv1lq>>}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Wed, 03 Apr 2013 07:31:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Wed, 03 Apr 2013 07:31:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 28ms (Views: 0.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.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, 03 Apr 2013 07:31:27 UTC +00:00], ["data_content_type", "application/x-gzip"], ["data_file_name", "rails_tar.gz"], ["data_file_size", 6823], ["height", nil], ["type", "Ckeditor::AttachmentFile"], ["updated_at", Wed, 03 Apr 2013 07:31:27 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
-Processing by Ckeditor::AttachmentFilesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/attachment_files
-Completed 302 Found in 52ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.7ms)
-Completed 200 OK in 148ms (Views: 145.7ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
-Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.2ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')[0m
- [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xb7ff610 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130403-10939-1hqs0nx>>, "CKEditor"=>"ckeditor_field"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1jhp88i.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-1jhp88i.png[0]' -resize "800>" '/tmp/rails20130403-10939-1jhp88i20130403-10939-1w042lh'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1jhp88i.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-1jhp88i.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130403-10939-1jhp88i20130403-10939-3k7ect'
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1jhp88i.png[0]'
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 1212ms (Views: 1.4ms | ActiveRecord: 0.8ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [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 rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xc10dd38 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20130403-10939-1rnwuns>>}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-xsjh9u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-xsjh9u.png[0]' -resize "800>" '/tmp/rails20130403-10939-xsjh9u20130403-10939-11vwtjv'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-xsjh9u.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-xsjh9u.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130403-10939-xsjh9u20130403-10939-1b00a8c'
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-xsjh9u.png[0]'
- [1m[35mSQL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 157ms (Views: 0.7ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>"rails.png"}
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1l4x5s8.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-1l4x5s8.png[0]' -resize "800>" '/tmp/rails20130403-10939-1l4x5s820130403-10939-tdnf82'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1l4x5s8.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-1l4x5s8.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130403-10939-1l4x5s820130403-10939-1bsh46d'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-1l4x5s8.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", false], ["created_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", 6646], ["height", 64], ["type", "Ckeditor::Picture"], ["updated_at", Wed, 03 Apr 2013 07:31:28 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 107ms (Views: 0.7ms | ActiveRecord: 0.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-14b3p9b.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-14b3p9b.png[0]' -resize "800>" '/tmp/rails20130403-10939-14b3p9b20130403-10939-wh4ii'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-14b3p9b.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-10939-14b3p9b.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130403-10939-14b3p9b20130403-10939-d8wkse'
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-10939-14b3p9b.png[0]'
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["assetable_id", nil], ["assetable_type", nil], ["created_at", Wed, 03 Apr 2013 07:31:29 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, 03 Apr 2013 07:31:29 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
-Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>"1"}
- [1m[35mCkeditor::Picture Load (0.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? LIMIT 1 [["id", "1"]]
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Scheduling attachments for deletion.
- [1m[35mSQL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ? [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
-Processing by Ckeditor::PicturesController#index as HTML
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') ORDER BY id desc
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
- Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (54.2ms)
-Completed 200 OK in 86ms (Views: 83.5ms | ActiveRecord: 0.3ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35m (0.1ms)[0m rollback transaction
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
-Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>nil}
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.3ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')[0m
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture')
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
-Migrating to CreatePosts (20110623120047)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110623120047')
- [1m[36m (0.1ms)[0m [1mcommit transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")
- [1m[36m (0.1ms)[0m [1mPRAGMA index_list("ckeditor_assets")[0m
- [1m[35m (0.1ms)[0m PRAGMA index_info('idx_ckeditor_assetable_type')
- [1m[36m (0.2ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable" ON "ckeditor_assets" ("assetable_type", "assetable_id")[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (9.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, 03 Apr 2013 07:32:11 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, 03 Apr 2013 07:32:11 UTC +00:00], ["width", nil]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::AttachmentFile') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/1/rails_tar.gz
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-11063-a9znmu.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-11063-a9znmu.png[0]' -resize "800>" '/tmp/rails20130403-11063-a9znmu20130403-11063-nq9mgw'
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-11063-a9znmu.png[0]'
-[32mCommand[0m :: convert '/tmp/rails20130403-11063-a9znmu.png[0]' -resize "118x" -crop "118x100+0+25" +repage '/tmp/rails20130403-11063-a9znmu20130403-11063-8z95j9'
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[32mCommand[0m :: identify -format %wx%h '/tmp/rails20130403-11063-a9znmu.png[0]'
- [1m[35mSQL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", nil], ["assetable_type", nil], ["created_at", Wed, 03 Apr 2013 07:32:11 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, 03 Apr 2013 07:32:11 UTC +00:00], ["width", 50]]
-[paperclip] Saving attachments.
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Scheduling attachments for deletion.
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" IN ('Ckeditor::Picture') AND "ckeditor_assets"."id" = ?[0m [["id", 1]]
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m rollback transaction