test/dummy/log/test.log in ckeditor-3.6.2 vs test/dummy/log/test.log in ckeditor-3.6.3
- old
+ new
@@ -1,6698 +1,4100 @@
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+ [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m select sqlite_version(*)
+ [1m[36mSQL (165.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36mSQL (56.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35mSQL (0.2ms)[0m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+ [1m[36mSQL (0.1ms)[0m [1m SELECT name
+ FROM sqlite_master
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
+[0m
+ [1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (193.7ms)[0m CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `content` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
- [1m[36mSQL (54.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20110623120047')[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:10:32 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.5ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 45ms (Views: 6.6ms | ActiveRecord: 250.3ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:13:15 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 5.0ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:18:07 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 22ms (Views: 6.4ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:21:05 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 4.5ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:25:14 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 4.6ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.5ms)[0m SHOW TABLES
- [1m[36mSQL (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:25:48 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.5ms | ActiveRecord: 2.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:31:27 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 4.9ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:31:46 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 22ms (Views: 6.5ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:32:04 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 4.8ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:32:55 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.7ms | ActiveRecord: 1.8ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:35:03 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.7ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:35:48 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.6ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:35:59 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.9ms | ActiveRecord: 2.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:36:44 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 15ms (Views: 4.6ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:36:57 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 20ms (Views: 4.9ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15: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 22ms (Views: 6.8ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 15:58:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 23ms (Views: 7.1ms | ActiveRecord: 2.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:01:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 17ms (Views: 5.5ms | ActiveRecord: 2.3ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:01:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:04:37 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 22ms (Views: 6.6ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:04:37 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:05:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 4.9ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:05:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16: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 23ms (Views: 7.4ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:06:27 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:06:44 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 23ms (Views: 7.2ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:06:44 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:06:47 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 24ms (Views: 8.0ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:06:47 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:07:23 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 5.3ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:07:23 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:07:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 22ms (Views: 6.8ms | ActiveRecord: 2.1ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:07:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:09:16 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 23ms (Views: 8.0ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:09:16 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:10:01 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 16ms (Views: 5.3ms | ActiveRecord: 1.9ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:10:01 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:10:18 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 22ms (Views: 8.1ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:10:18 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:23:41 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (70.3ms)
-Completed 500 Internal Server Error in 83ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:23:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 12ms (Views: 3.4ms | ActiveRecord: 0.4ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:23:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:24:40 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (22.0ms)
-Completed 500 Internal Server Error in 27ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:24:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 13ms (Views: 3.4ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:24:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:26:08 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (21.8ms)
-Completed 500 Internal Server Error in 28ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:26:08 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 13ms (Views: 3.6ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.9ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:26:08 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 1.1ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:29:02 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (17.1ms)
-Completed 500 Internal Server Error in 28ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:29:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 14ms (Views: 3.2ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:29:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:29:57 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (17.7ms)
-Completed 500 Internal Server Error in 29ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:29:57 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:29:57 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.1ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:30:26 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (8.2ms)
-Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 1.8ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:30:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 13ms (Views: 3.2ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:30:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 16:46:27 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (16.5ms)
-Completed 500 Internal Server Error in 29ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:46:27 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 57ms (Views: 3.5ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 16:46:27 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 17:14:28 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (9.1ms)
-Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 1.8ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:14:28 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 13ms (Views: 3.1ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:14:28 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (179.4ms)[0m CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `info` text, `content` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
- [1m[36mSQL (65.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20110623120047')[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.6ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`updated_at`, `content`, `created_at`, `info`, `title`) VALUES ('2011-06-23 14:34:26', 'content', '2011-06-23 14:34:26', 'info', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 17:34:26 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.5ms)
-Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 247.6ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (94.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `content`, `created_at`, `info`, `title`) VALUES ('2011-06-23 14:34:26', 'content', '2011-06-23 14:34:26', 'info', 'test')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:34:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 48ms (Views: 47.4ms | ActiveRecord: 95.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (87.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `created_at`, `info`, `title`) VALUES ('2011-06-23 14:34:26', 'content', '2011-06-23 14:34:26', 'info', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:34:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 88.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 3[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (72.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `content`, `created_at`, `info`, `title`) VALUES ('2011-06-23 14:34:26', 'content', '2011-06-23 14:34:26', 'info', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Thu Jun 23 17:34:26 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 73.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 4
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (59.6ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-06-23 14:36:01', '2011-06-23 14:36:01')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 17:36:01 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.6ms)
-Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 3.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (171.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-06-23 14:36:02', '2011-06-23 14:36:02')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 172.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (68.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-06-23 14:36:02', '2011-06-23 14:36:02')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 69.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (77.0ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-06-23 14:36:02', '2011-06-23 14:36:02')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/8/edit" for 127.0.0.1 at Thu Jun 23 17:36:02 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 78.0ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (57.7ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `info`, `title`, `content`) VALUES ('2011-06-23 14:36:40', '2011-06-23 14:36:40', 'info', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 17:36:40 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.7ms)
-Completed 200 OK in 11ms (Views: 10.9ms | ActiveRecord: 3.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (111.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `info`, `title`, `content`) VALUES ('2011-06-23 14:36:40', '2011-06-23 14:36:40', 'info', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 48ms (Views: 47.3ms | ActiveRecord: 112.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (65.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `created_at`, `info`, `title`, `content`) VALUES ('2011-06-23 14:36:40', '2011-06-23 14:36:40', 'info', 'test', 'content')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 66.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `info`, `title`, `content`) VALUES ('2011-06-23 14:36:40', '2011-06-23 14:36:40', 'info', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/12/edit" for 127.0.0.1 at Thu Jun 23 17:36:40 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"12"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 55.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (47.4ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `info`, `created_at`, `updated_at`, `title`) VALUES ('content', 'info', '2011-06-23 14:36:51', '2011-06-23 14:36:51', 'test')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 17:36:51 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (6.1ms)
-Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 2.9ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 13
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (99.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `info`, `created_at`, `updated_at`, `title`) VALUES ('content', 'info', '2011-06-23 14:36:51', '2011-06-23 14:36:51', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:51 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 100.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (15.0ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 14[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (38.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `info`, `created_at`, `updated_at`, `title`) VALUES ('content', 'info', '2011-06-23 14:36:51', '2011-06-23 14:36:51', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 17:36:51 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 54.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 15
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (43.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`content`, `info`, `created_at`, `updated_at`, `title`) VALUES ('content', 'info', '2011-06-23 14:36:51', '2011-06-23 14:36:51', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/16/edit" for 127.0.0.1 at Thu Jun 23 17:36:51 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"16"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 16 LIMIT 1[0m
-Rendered posts/_form.html.erb (4.2ms)
-Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 44.2ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 16[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (39.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.6ms)[0m describe `posts`
- [1m[36mAREL (0.7ms)[0m [1mINSERT INTO `posts` (`info`, `created_at`, `updated_at`, `content`, `title`) VALUES ('info', '2011-06-23 15:07:29', '2011-06-23 15:07:29', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 23 18:07:29 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (6.4ms)
-Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 3.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 17
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (111.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `created_at`, `updated_at`, `content`, `title`) VALUES ('info', '2011-06-23 15:07:29', '2011-06-23 15:07:29', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 18:07:29 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 76ms (Views: 74.9ms | ActiveRecord: 112.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 18[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (59.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`info`, `created_at`, `updated_at`, `content`, `title`) VALUES ('info', '2011-06-23 15:07:29', '2011-06-23 15:07:29', 'content', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 23 18:07:29 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 61.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 19
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (44.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `created_at`, `updated_at`, `content`, `title`) VALUES ('info', '2011-06-23 15:07:29', '2011-06-23 15:07:29', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/20/edit" for 127.0.0.1 at Thu Jun 23 18:07:29 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"20"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 20 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.6ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 45.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 20[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (40.4ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `title`, `content`, `created_at`) VALUES ('2011-06-29 11:17:31', 'info', 'test', 'content', '2011-06-29 11:17:31')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Wed Jun 29 14:17:31 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (64.9ms)
-Completed 200 OK in 116ms (Views: 115.3ms | ActiveRecord: 4.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (66.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `title`, `content`, `created_at`) VALUES ('2011-06-29 11:17:31', 'info', 'test', 'content', '2011-06-29 11:17:31')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Wed Jun 29 14:17:31 +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.0ms | ActiveRecord: 67.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (60.5ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `info`, `title`, `content`, `created_at`) VALUES ('2011-06-29 11:17:31', 'info', 'test', 'content', '2011-06-29 11:17:31')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Wed Jun 29 14:17:31 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 61.6ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.5ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `title`, `content`, `created_at`) VALUES ('2011-06-29 11:17:31', 'info', 'test', 'content', '2011-06-29 11:17:31')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Wed Jun 29 14:17:31 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.2ms)
-Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 55.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (52.9ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `title`, `updated_at`, `content`, `created_at`) VALUES ('info', 'test', '2011-06-29 11:18:06', 'content', '2011-06-29 11:18:06')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Wed Jun 29 14:18:06 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.9ms)
-Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 2.7ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (78.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `title`, `updated_at`, `content`, `created_at`) VALUES ('info', 'test', '2011-06-29 11:18:06', 'content', '2011-06-29 11:18:06')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Wed Jun 29 14:18:06 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 79.3ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (43.6ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`info`, `title`, `updated_at`, `content`, `created_at`) VALUES ('info', 'test', '2011-06-29 11:18:06', 'content', '2011-06-29 11:18:06')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Wed Jun 29 14:18:06 +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: 45.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (65.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`info`, `title`, `updated_at`, `content`, `created_at`) VALUES ('info', 'test', '2011-06-29 11:18:06', 'content', '2011-06-29 11:18:06')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/8/edit" for 127.0.0.1 at Wed Jun 29 14:18:06 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 66.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (62.5ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.4ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `posts` (`title`, `created_at`, `content`, `info`, `updated_at`) VALUES ('test', '2011-06-30 15:15:43', 'content', 'info', '2011-06-30 15:15:43')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 30 18:15:43 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (58.2ms)
-Completed 200 OK in 154ms (Views: 153.4ms | ActiveRecord: 4.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (92.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`title`, `created_at`, `content`, `info`, `updated_at`) VALUES ('test', '2011-06-30 15:15:43', 'content', 'info', '2011-06-30 15:15:43')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:15:43 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 94.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (74.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `content`, `info`, `updated_at`) VALUES ('test', '2011-06-30 15:15:43', 'content', 'info', '2011-06-30 15:15:43')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:15:43 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 75.6ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (42.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `created_at`, `content`, `info`, `updated_at`) VALUES ('test', '2011-06-30 15:15:43', 'content', 'info', '2011-06-30 15:15:43')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Thu Jun 30 18:15:43 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
-Rendered posts/_form.html.erb (4.6ms)
-Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 43.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (38.7ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `title`, `content`) VALUES ('2011-06-30 15:21:41', 'info', '2011-06-30 15:21:41', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 30 18:21:41 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (48.8ms)
-Completed 200 OK in 54ms (Views: 53.6ms | ActiveRecord: 3.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (98.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `title`, `content`) VALUES ('2011-06-30 15:21:41', 'info', '2011-06-30 15:21:41', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:21:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 100.0ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (61.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `info`, `created_at`, `title`, `content`) VALUES ('2011-06-30 15:21:41', 'info', '2011-06-30 15:21:41', 'test', 'content')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:21:41 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 62.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `title`, `content`) VALUES ('2011-06-30 15:21:41', 'info', '2011-06-30 15:21:41', 'test', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/8/edit" for 127.0.0.1 at Thu Jun 30 18:21:41 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
-Rendered posts/_form.html.erb (4.4ms)
-Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 55.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (39.6ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `created_at`, `updated_at`, `content`) VALUES ('test', 'info', '2011-06-30 15:23:02', '2011-06-30 15:23:02', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 30 18:23:02 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (6.1ms)
-Completed 200 OK in 11ms (Views: 11.0ms | ActiveRecord: 3.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.4ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (72.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `created_at`, `updated_at`, `content`) VALUES ('test', 'info', '2011-06-30 15:23:02', '2011-06-30 15:23:02', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:23:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 73.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (53.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `info`, `created_at`, `updated_at`, `content`) VALUES ('test', 'info', '2011-06-30 15:23:02', '2011-06-30 15:23:02', 'content')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:23:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 54.7ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (56.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `created_at`, `updated_at`, `content`) VALUES ('test', 'info', '2011-06-30 15:23:02', '2011-06-30 15:23:02', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/12/edit" for 127.0.0.1 at Thu Jun 30 18:23:02 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"12"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 57.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (51.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`title`, `content`, `updated_at`, `created_at`, `info`) VALUES ('test', 'content', '2011-06-30 15:24:39', '2011-06-30 15:24:39', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 30 18:24:39 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (6.4ms)
-Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 3.9ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 13
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (75.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `content`, `updated_at`, `created_at`, `info`) VALUES ('test', 'content', '2011-06-30 15:24:39', '2011-06-30 15:24:39', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:24:40 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 76.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 14[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (64.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `content`, `updated_at`, `created_at`, `info`) VALUES ('test', 'content', '2011-06-30 15:24:40', '2011-06-30 15:24:40', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:24:40 +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.8ms | ActiveRecord: 66.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 15
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (47.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`title`, `content`, `updated_at`, `created_at`, `info`) VALUES ('test', 'content', '2011-06-30 15:24:40', '2011-06-30 15:24:40', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/16/edit" for 127.0.0.1 at Thu Jun 30 18:24:40 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"16"}
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 16 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 48.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 16[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (49.0ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`created_at`, `content`, `info`, `title`, `updated_at`) VALUES ('2011-06-30 15:25:10', 'content', 'info', 'test', '2011-06-30 15:25:10')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Thu Jun 30 18:25:10 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.9ms)
-Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 3.5ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 17
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (89.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`created_at`, `content`, `info`, `title`, `updated_at`) VALUES ('2011-06-30 15:25:11', 'content', 'info', 'test', '2011-06-30 15:25:11')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:25:11 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 54ms (Views: 53.5ms | ActiveRecord: 90.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 18[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (48.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`created_at`, `content`, `info`, `title`, `updated_at`) VALUES ('2011-06-30 15:25:11', 'content', 'info', 'test', '2011-06-30 15:25:11')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Thu Jun 30 18:25:11 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 49.6ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (14.9ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 19
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (40.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`created_at`, `content`, `info`, `title`, `updated_at`) VALUES ('2011-06-30 15:25:11', 'content', 'info', 'test', '2011-06-30 15:25:11')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/20/edit" for 127.0.0.1 at Thu Jun 30 18:25:11 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"20"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 20 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 56.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 20[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (52.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `posts`
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `content`, `title`, `info`) VALUES ('2011-07-05 16:18:01', '2011-07-05 16:18:01', 'content', 'test', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Tue Jul 05 19:18:01 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (140.0ms)
-Completed 200 OK in 190ms (Views: 190.0ms | ActiveRecord: 4.2ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (99.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `content`, `title`, `info`) VALUES ('2011-07-05 16:18:01', '2011-07-05 16:18:01', 'content', 'test', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:18:01 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 17ms (Views: 16.1ms | ActiveRecord: 100.2ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (85.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`updated_at`, `created_at`, `content`, `title`, `info`) VALUES ('2011-07-05 16:18:02', '2011-07-05 16:18:02', 'content', 'test', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:18:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 86.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (81.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `created_at`, `content`, `title`, `info`) VALUES ('2011-07-05 16:18:02', '2011-07-05 16:18:02', 'content', 'test', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Tue Jul 05 19:18:02 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 82.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (63.6ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `content`, `title`) VALUES ('2011-07-05 16:49:16', 'info', '2011-07-05 16:49:16', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Tue Jul 05 19:49:16 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (51.3ms)
-Completed 200 OK in 57ms (Views: 56.5ms | ActiveRecord: 3.1ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (78.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `content`, `title`) VALUES ('2011-07-05 16:49:16', 'info', '2011-07-05 16:49:16', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:49:16 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 79.6ms)
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (61.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`updated_at`, `info`, `created_at`, `content`, `title`) VALUES ('2011-07-05 16:49:16', 'info', '2011-07-05 16:49:16', 'content', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:49:16 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.4ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 63.3ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (49.2ms)[0m ROLLBACK
- [1m[36mSQL (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `info`, `created_at`, `content`, `title`) VALUES ('2011-07-05 16:49:16', 'info', '2011-07-05 16:49:16', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/8/edit" for 127.0.0.1 at Tue Jul 05 19:49:16 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
-Rendered posts/_form.html.erb (6.0ms)
-Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 50.8ms)
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (607.3ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- Processing by Ckeditor::PicturesController#index as HTML
-Completed 500 Internal Server Error in 1ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `content`, `info`, `created_at`) VALUES ('test', '2011-07-05 16:55:30', 'content', 'info', '2011-07-05 16:55:30')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Tue Jul 05 19:55:30 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (6.5ms)
-Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 3.8ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (75.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `content`, `info`, `created_at`) VALUES ('test', '2011-07-05 16:55:30', 'content', 'info', '2011-07-05 16:55:30')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:55:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 76.3ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (54.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `updated_at`, `content`, `info`, `created_at`) VALUES ('test', '2011-07-05 16:55:30', 'content', 'info', '2011-07-05 16:55:30')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Tue Jul 05 19:55:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 55.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (66.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `content`, `info`, `created_at`) VALUES ('test', '2011-07-05 16:55:30', 'content', 'info', '2011-07-05 16:55:30')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/12/edit" for 127.0.0.1 at Tue Jul 05 19:55:30 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"12"}
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 67.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (53.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-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[35mSQL (244.7ms)[0m CREATE TABLE `ckeditor_assets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `data_file_name` varchar(255) NOT NULL, `data_content_type` varchar(255), `data_file_size` int(11), `assetable_id` int(11), `assetable_type` varchar(30), `type` varchar(30), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
- [1m[36mSQL (0.5ms)[0m [1mSHOW KEYS FROM `ckeditor_assets`[0m
- [1m[35mSQL (309.6ms)[0m CREATE INDEX `idx_ckeditor_assetable_type` ON `ckeditor_assets` (`assetable_type`, `type`, `assetable_id`)
- [1m[36mSQL (0.5ms)[0m [1mSHOW KEYS FROM `ckeditor_assets`[0m
- [1m[35mSQL (298.6ms)[0m CREATE INDEX `idx_ckeditor_assetable` ON `ckeditor_assets` (`assetable_type`, `assetable_id`)
- [1m[36mSQL (65.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20110705195648')[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xab90a3c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7131-g6pou1-0>>}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.8ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.4ms)[0m INSERT INTO `ckeditor_assets` (`created_at`, `data_file_size`, `assetable_type`, `data_file_name`, `type`, `data_content_type`, `updated_at`, `assetable_id`) VALUES ('2011-07-08 13:41:45', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '2011-07-08 13:41:45', NULL)
-Mysql2::Error: Column 'data_file_name' cannot be null: INSERT INTO `ckeditor_assets` (`created_at`, `data_file_size`, `assetable_type`, `data_file_name`, `type`, `data_content_type`, `updated_at`, `assetable_id`) VALUES ('2011-07-08 13:41:45', NULL, NULL, NULL, 'Ckeditor::Picture', NULL, '2011-07-08 13:41:45', NULL)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 500 Internal Server Error in 153ms
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[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` = 'Ckeditor::Picture' ORDER BY id desc
+ [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 (0.7ms)
-Completed 200 OK in 187ms (Views: 185.5ms | ActiveRecord: 924.1ms)
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `info`, `created_at`, `title`) VALUES ('2011-07-08 13:41:45', 'content', 'info', '2011-07-08 13:41:45', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Fri Jul 08 16:41:45 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 102ms (Views: 100.8ms | ActiveRecord: 0.9ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (85.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `info`, `created_at`, `title`) VALUES ('2011-07-08 13:41:45', 'content', 'info', '2011-07-08 13:41:45', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:41:45 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 86.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (47.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `content`, `info`, `created_at`, `title`) VALUES ('2011-07-08 13:41:46', 'content', 'info', '2011-07-08 13:41:46', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:41:46 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 48.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (43.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `info`, `created_at`, `title`) VALUES ('2011-07-08 13:41:46', 'content', 'info', '2011-07-08 13:41:46', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Fri Jul 08 16:41:46 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
-Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 44.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (37.5ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+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:0xae566e0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7146-14ozpv4-0>>}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.8ms)[0m describe `ckeditor_assets`
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `data_file_size`, `type`, `assetable_type`, `created_at`, `assetable_id`, `data_file_name`) VALUES ('2011-07-08 13:45:58', NULL, NULL, 'Ckeditor::Picture', NULL, '2011-07-08 13:45:58', NULL, NULL)[0m
-Mysql2::Error: Column 'data_file_name' cannot be null: INSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `data_file_size`, `type`, `assetable_type`, `created_at`, `assetable_id`, `data_file_name`) VALUES ('2011-07-08 13:45:58', NULL, NULL, 'Ckeditor::Picture', NULL, '2011-07-08 13:45:58', NULL, NULL)
- [1m[35mSQL (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 500 Internal Server Error in 26ms
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+ 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[36mCkeditor::Picture Load (0.1ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.9ms)
-Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 4.7ms)
- [1m[35mSQL (0.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `info`, `updated_at`, `created_at`, `title`) VALUES ('content', 'info', '2011-07-08 13:45:58', '2011-07-08 13:45:58', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.6ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>nil}
+Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.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 Fri Jul 08 16:45:58 +0300 2011
+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 (3.6ms)
-Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 1.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 5[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (81.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `info`, `updated_at`, `created_at`, `title`) VALUES ('content', 'info', '2011-07-08 13:45:58', '2011-07-08 13:45:58', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+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 Fri Jul 08 16:45:58 +0300 2011
+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 6ms (Views: 4.8ms | ActiveRecord: 82.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 6
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (40.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `info`, `updated_at`, `created_at`, `title`) VALUES ('content', 'info', '2011-07-08 13:45:58', '2011-07-08 13:45:58', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [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 Fri Jul 08 16:45:58 +0300 2011
+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 4ms (Views: 3.3ms | ActiveRecord: 41.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 7[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (41.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `info`, `updated_at`, `created_at`, `title`) VALUES ('content', 'info', '2011-07-08 13:45:58', '2011-07-08 13:45:58', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [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/8/edit" for 127.0.0.1 at Fri Jul 08 16:45:59 +0300 2011
+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"=>"8"}
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1
-Rendered posts/_form.html.erb (4.9ms)
-Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 43.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 8
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (44.2ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+ 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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+ [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:0xa4ac9b4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7153-1bvypm5-0>>}
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 27ms (Views: 14.4ms | ActiveRecord: 3.2ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+ 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[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc[0m
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 18ms (Views: 7.1ms | ActiveRecord: 0.4ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `created_at`, `title`, `info`, `updated_at`) VALUES ('content', '2011-07-08 13:47:33', 'test', 'info', '2011-07-08 13:47:33')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Fri Jul 08 16:47:33 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 1.0ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.5ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 9[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (106.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `created_at`, `title`, `info`, `updated_at`) VALUES ('content', '2011-07-08 13:47:34', 'test', 'info', '2011-07-08 13:47:34')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:47:34 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 108.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 10
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (86.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`content`, `created_at`, `title`, `info`, `updated_at`) VALUES ('content', '2011-07-08 13:47:34', 'test', 'info', '2011-07-08 13:47:34')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:47:34 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 87.3ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 11[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (54.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `created_at`, `title`, `info`, `updated_at`) VALUES ('content', '2011-07-08 13:47:34', 'test', 'info', '2011-07-08 13:47:34')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/12/edit" for 127.0.0.1 at Fri Jul 08 16:47:34 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"12"}
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1
-Rendered posts/_form.html.erb (4.0ms)
-Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 55.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 12
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (50.6ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [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: {"upload"=>#<Rack::Test::UploadedFile:0xa747c50 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7173-1nk86o7-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 22ms (Views: 2.3ms | ActiveRecord: 3.4ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- Processing by Ckeditor::PicturesController#index as HTML
- [1m[36mCkeditor::Picture Load (0.1ms)[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 9ms (Views: 7.3ms | ActiveRecord: 0.4ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `info`, `updated_at`, `content`) VALUES ('test', '2011-07-08 13:50:34', 'info', '2011-07-08 13:50:34', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_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[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 Fri Jul 08 16:50:34 +0300 2011
+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 (3.8ms)
-Completed 200 OK in 56ms (Views: 10.9ms | ActiveRecord: 1.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 13[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (82.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `info`, `updated_at`, `content`) VALUES ('test', '2011-07-08 13:50:34', 'info', '2011-07-08 13:50:34', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+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 Fri Jul 08 16:50:34 +0300 2011
+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.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 84.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 14
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (42.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `created_at`, `info`, `updated_at`, `content`) VALUES ('test', '2011-07-08 13:50:34', 'info', '2011-07-08 13:50:34', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [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 Fri Jul 08 16:50:34 +0300 2011
+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
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 43.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 15[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (43.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `info`, `updated_at`, `content`) VALUES ('test', '2011-07-08 13:50:34', 'info', '2011-07-08 13:50:34', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [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/16/edit" for 127.0.0.1 at Fri Jul 08 16:50:34 +0300 2011
+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"=>"16"}
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 16 LIMIT 1
-Rendered posts/_form.html.erb (4.3ms)
-Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 45.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 16
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (38.7ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.4ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+ 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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile: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: {"qqfile"=>#<Rack::Test::UploadedFile:0xae83eb0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7223-114hb74-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`assetable_type`, `data_content_type`, `type`, `updated_at`, `assetable_id`, `data_file_name`, `created_at`, `data_file_size`) VALUES (NULL, 'image/png', 'Ckeditor::Picture', '2011-07-08 13:53:47', NULL, 'rails.png', '2011-07-08 13:53:47', 6646)
+ 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
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 733ms (Views: 1.3ms | ActiveRecord: 4.4ms)
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (91.6ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+[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.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 92.5ms)
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`created_at`, `content`, `title`, `updated_at`, `info`) VALUES ('2011-07-08 13:53:47', 'content', 'test', '2011-07-08 13:53:47', 'info')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Fri Jul 08 16:53:47 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.7ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 17[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (69.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`created_at`, `content`, `title`, `updated_at`, `info`) VALUES ('2011-07-08 13:53:47', 'content', 'test', '2011-07-08 13:53:47', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:53:47 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 70.4ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 18
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`created_at`, `content`, `title`, `updated_at`, `info`) VALUES ('2011-07-08 13:53:47', 'content', 'test', '2011-07-08 13:53:47', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:53:47 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 55.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 19[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (66.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`created_at`, `content`, `title`, `updated_at`, `info`) VALUES ('2011-07-08 13:53:47', 'content', 'test', '2011-07-08 13:53:47', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/20/edit" for 127.0.0.1 at Fri Jul 08 16:53:47 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"20"}
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 20 LIMIT 1
-Rendered posts/_form.html.erb (3.2ms)
-Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 67.5ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 20
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.8ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [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:0xb2d1350 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7254-xz2g24-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`updated_at`, `data_file_size`, `type`, `created_at`, `data_content_type`, `assetable_id`, `data_file_name`, `assetable_type`) VALUES ('2011-07-08 13:57:02', 6646, 'Ckeditor::Picture', '2011-07-08 13:57:02', 'image/png', NULL, 'rails.png', NULL)
+ [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/pictures/2/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 363ms (Views: 1.3ms | ActiveRecord: 4.6ms)
- [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (44.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [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:0xb1f1f84 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7254-7vmwuf-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `data_file_size`, `type`, `created_at`, `data_content_type`, `assetable_id`, `data_file_name`, `assetable_type`) VALUES ('2011-07-08 13:57:02', 6646, 'Ckeditor::Picture', '2011-07-08 13:57:02', 'image/png', NULL, 'rails.png', NULL)[0m
+[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/pictures/3/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 130ms (Views: 0.7ms | ActiveRecord: 45.5ms)
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (31.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[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` = 'Ckeditor::Picture' ORDER BY id desc
+[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 (0.8ms)
-Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 32.0ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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: {"qqfile"=>"invalid"}
-Completed 500 Internal Server Error in 1ms
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.7ms)[0m INSERT INTO `posts` (`content`, `title`, `created_at`, `info`, `updated_at`) VALUES ('content', 'test', '2011-07-08 13:57:02', 'info', '2011-07-08 13:57:02')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Fri Jul 08 16:57:02 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (4.0ms)
-Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 2.0ms)
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 21[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (60.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `title`, `created_at`, `info`, `updated_at`) VALUES ('content', 'test', '2011-07-08 13:57:02', 'info', '2011-07-08 13:57:02')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:57:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 62.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 22
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`content`, `title`, `created_at`, `info`, `updated_at`) VALUES ('content', 'test', '2011-07-08 13:57:02', 'info', '2011-07-08 13:57:02')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:57:02 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 55.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 23[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (55.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `title`, `created_at`, `info`, `updated_at`) VALUES ('content', 'test', '2011-07-08 13:57:02', 'info', '2011-07-08 13:57:02')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/24/edit" for 127.0.0.1 at Fri Jul 08 16:57:02 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"24"}
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 24 LIMIT 1
-Rendered posts/_form.html.erb (6.5ms)
-Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 56.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 24
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.4ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
-Migrating to CreatePosts (20110623120047)
-Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [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:0xacf57c4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7286-yxk64q-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`assetable_id`, `data_file_size`, `updated_at`, `created_at`, `data_file_name`, `assetable_type`, `type`, `data_content_type`) VALUES (NULL, 6646, '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'rails.png', NULL, 'Ckeditor::Picture', 'image/png')
+ 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/4/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 280ms (Views: 1.3ms | ActiveRecord: 4.3ms)
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (47.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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:0xaae063c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110708-7286-ayngac-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_id`, `data_file_size`, `updated_at`, `created_at`, `data_file_name`, `assetable_type`, `type`, `data_content_type`) VALUES (NULL, 6646, '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'rails.png', NULL, 'Ckeditor::Picture', 'image/png')[0m
+ 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/5/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 141ms (Views: 0.7ms | ActiveRecord: 48.8ms)
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (62.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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[35mCkeditor::Picture Load (0.4ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' ORDER BY id desc
+ [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 8ms (Views: 7.0ms | ActiveRecord: 63.6ms)
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m describe `posts`
- [1m[36mAREL (0.1ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `created_at`, `content`, `info`) VALUES ('test', '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'content', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Fri Jul 08 16:58:52 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (4.4ms)
-Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.7ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 25
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `created_at`, `content`, `info`) VALUES ('test', '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'content', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:58:52 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 103ms (Views: 102.0ms | ActiveRecord: 52.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 26[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (43.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.1ms)[0m INSERT INTO `posts` (`title`, `updated_at`, `created_at`, `content`, `info`) VALUES ('test', '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'content', 'info')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Fri Jul 08 16:58:52 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 44.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 27
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (45.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `updated_at`, `created_at`, `content`, `info`) VALUES ('test', '2011-07-08 13:58:52', '2011-07-08 13:58:52', 'content', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/28/edit" for 127.0.0.1 at Fri Jul 08 16:58:52 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"28"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 28 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.6ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 46.3ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 28[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (40.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) 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::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:0xaa9d724 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-7984-1nyks31-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (20.5ms)[0m INSERT INTO `ckeditor_assets` (`data_content_type`, `data_file_size`, `assetable_type`, `created_at`, `assetable_id`, `updated_at`, `type`, `data_file_name`) VALUES ('image/png', 6646, NULL, '2011-07-11 13:39:30', NULL, '2011-07-11 13:39:30', 'Ckeditor::Picture', 'rails.png')
+ 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
- [1m[36mSQL (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 535ms (Views: 24.0ms | ActiveRecord: 24.9ms)
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (73.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
+[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"=>#<Rack::Test::UploadedFile:0xa86b500 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-7984-1wqqvj3-0>>}
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`data_content_type`, `data_file_size`, `assetable_type`, `created_at`, `assetable_id`, `updated_at`, `type`, `data_file_name`) VALUES ('image/png', 6646, NULL, '2011-07-11 13:39:30', NULL, '2011-07-11 13:39:30', 'Ckeditor::Picture', 'rails.png')
+ 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/2/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 197ms (Views: 0.7ms | ActiveRecord: 74.6ms)
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (49.3ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+[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.4ms)[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 (70.1ms)
+ [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 136ms (Views: 133.2ms | ActiveRecord: 50.3ms)
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_5
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_5[0m
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_6
- [1m[36mSQL (0.3ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`created_at`, `updated_at`, `info`, `title`, `content`) VALUES ('2011-07-11 13:39:31', '2011-07-11 13:39:31', 'info', 'test', 'content')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_6[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:39:31 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (4.2ms)
-Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.8ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_6
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_6
- [1m[36mSQL (81.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_6[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`created_at`, `updated_at`, `info`, `title`, `content`) VALUES ('2011-07-11 13:39:31', '2011-07-11 13:39:31', 'info', 'test', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_6[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:39:31 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 25ms (Views: 24.2ms | ActiveRecord: 83.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_6[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_6[0m
- [1m[35mSQL (76.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_6
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`created_at`, `updated_at`, `info`, `title`, `content`) VALUES ('2011-07-11 13:39:31', '2011-07-11 13:39:31', 'info', 'test', 'content')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_6
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:39:31 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 77.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_6
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 3[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_6
- [1m[36mSQL (54.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_6[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`created_at`, `updated_at`, `info`, `title`, `content`) VALUES ('2011-07-11 13:39:31', '2011-07-11 13:39:31', 'info', 'test', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_6[0m
-
-
-Started GET "/posts/4/edit" for 127.0.0.1 at Mon Jul 11 16:39:31 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"4"}
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1
-Rendered posts/_form.html.erb (3.3ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 55.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_6[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 4
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_6[0m
- [1m[35mSQL (64.0ms)[0m ROLLBACK
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile: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:0xa9232b8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8013-typi4j-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.4ms)[0m INSERT INTO `ckeditor_assets` (`type`, `assetable_id`, `updated_at`, `data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `created_at`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:40:37', 'rails.png', 'image/png', 6646, NULL, '2011-07-11 13:40:37')
+ 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/3/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/original_rails.png
- [1m[36mSQL (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 364ms (Views: 1.3ms | ActiveRecord: 4.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
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ Processing by Ckeditor::PicturesController#create as HTML
+ Parameters: {"qqfile"=>#<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/2/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/2/content_rails.png
- [1m[35mAREL (0.4ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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/3/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/3/content_rails.png
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 3[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (64.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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"=>#<Rack::Test::UploadedFile:0xa71965c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8013-10x1jre-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`type`, `assetable_id`, `updated_at`, `data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `created_at`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:40:37', 'rails.png', 'image/png', 6646, NULL, '2011-07-11 13:40:37')[0m
+ 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/pictures/4/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 176ms (Views: 0.7ms | ActiveRecord: 68.3ms)
- [1m[36mSQL (0.3ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/pictures/4/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4/content_rails.png
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 4
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (77.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `ckeditor_assets` (`type`, `assetable_id`, `updated_at`, `data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `created_at`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:40:37', 'rails.png', 'image/png', 6646, NULL, '2011-07-11 13:40:37')[0m
+[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/5/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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/5/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/5/content_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 5[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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"=>#<Ckeditor::Picture id: 5, data_file_name: nil, data_content_type: nil, data_file_size: nil, assetable_id: nil, assetable_type: nil, type: "Ckeditor::Picture", created_at: "2011-07-11 13:40:37", updated_at: "2011-07-11 13:40:37">}
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 5 LIMIT 1[0m
-Completed 404 Not Found in 1ms
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (91.5ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
+[paperclip] deleting /var/www/gems/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.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 (7.2ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 173.8ms)
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (51.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+ [1m[36mCkeditor::Picture Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
+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}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
-Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 53.4ms)
- [1m[35mSQL (0.1ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mdescribe `posts`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `content`, `updated_at`, `info`) VALUES ('test', '2011-07-11 13:40:37', 'content', '2011-07-11 13:40:37', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:40:37 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (4.9ms)
-Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 53.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 5[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (53.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `content`, `updated_at`, `info`) VALUES ('test', '2011-07-11 13:40:37', 'content', '2011-07-11 13:40:37', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:40:37 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 76ms (Views: 74.4ms | ActiveRecord: 54.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 6
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (48.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `created_at`, `content`, `updated_at`, `info`) VALUES ('test', '2011-07-11 13:40:37', 'content', '2011-07-11 13:40:37', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:40:37 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 49.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 7[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (89.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `created_at`, `content`, `updated_at`, `info`) VALUES ('test', '2011-07-11 13:40:38', 'content', '2011-07-11 13:40:38', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts/8/edit" for 127.0.0.1 at Mon Jul 11 16:40:38 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1
-Rendered posts/_form.html.erb (3.6ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 90.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 8
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (62.7ms)[0m ROLLBACK
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [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: {"upload"=>#<Rack::Test::UploadedFile:0xbc0203c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8081-k6xp19-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.4ms)[0m INSERT INTO `ckeditor_assets` (`assetable_type`, `updated_at`, `assetable_id`, `data_file_size`, `data_file_name`, `type`, `data_content_type`, `created_at`) VALUES (NULL, '2011-07-11 13:42:25', NULL, 6646, 'rails.png', 'Ckeditor::Picture', 'image/png', '2011-07-11 13:42:25')
+ [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/pictures/6/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 353ms (Views: 1.3ms | ActiveRecord: 4.3ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
+[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/pictures/6/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 6[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (71.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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: {"qqfile"=>#<Rack::Test::UploadedFile:0xb9c59f4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8081-13eex9u-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_type`, `updated_at`, `assetable_id`, `data_file_size`, `data_file_name`, `type`, `data_content_type`, `created_at`) VALUES (NULL, '2011-07-11 13:42:25', NULL, 6646, 'rails.png', 'Ckeditor::Picture', 'image/png', '2011-07-11 13:42:25')[0m
+ 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/7/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 139ms (Views: 0.4ms | ActiveRecord: 74.9ms)
- [1m[36mSQL (0.3ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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/7/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
- [1m[35mAREL (0.1ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 7
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (58.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_type`, `updated_at`, `assetable_id`, `data_file_size`, `data_file_name`, `type`, `data_content_type`, `created_at`) VALUES (NULL, '2011-07-11 13:42:25', NULL, 6646, 'rails.png', 'Ckeditor::Picture', 'image/png', '2011-07-11 13:42:25')[0m
+[paperclip] deleting /var/www/gems/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/8/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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"=>8}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/8/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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 29ms
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mCkeditor::Picture Load (0.5ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (86.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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.4ms)[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 (5.4ms)
+ [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 14ms (Views: 12.3ms | ActiveRecord: 88.5ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.1ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
+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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 56.6ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (57.5ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.7ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `title`, `info`, `created_at`, `content`) VALUES ('2011-07-11 13:42:26', 'test', 'info', '2011-07-11 13:42:26', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:42:26 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (4.1ms)
-Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 59.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (64.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`updated_at`, `title`, `info`, `created_at`, `content`) VALUES ('2011-07-11 13:42:26', 'test', 'info', '2011-07-11 13:42:26', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:42:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 65.8ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (63.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`updated_at`, `title`, `info`, `created_at`, `content`) VALUES ('2011-07-11 13:42:26', 'test', 'info', '2011-07-11 13:42:26', 'content')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:42:26 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 65.1ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (65.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `title`, `info`, `created_at`, `content`) VALUES ('2011-07-11 13:42:26', 'test', 'info', '2011-07-11 13:42:26', 'content')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/12/edit" for 127.0.0.1 at Mon Jul 11 16:42:26 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"12"}
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 66.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (74.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [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:0xbb15fc0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8122-12h4ywx-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`updated_at`, `created_at`, `data_file_size`, `data_content_type`, `assetable_id`, `type`, `data_file_name`, `assetable_type`) VALUES ('2011-07-11 13:43:52', '2011-07-11 13:43:52', 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png', NULL)
+ [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/pictures/9/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/9/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/9/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 338ms (Views: 1.4ms | ActiveRecord: 4.7ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.5ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.5ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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/pictures/9/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/9/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/9/content_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 9[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (81.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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: {"qqfile"=>#<Rack::Test::UploadedFile:0xb90c5bc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8122-file9o-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `created_at`, `data_file_size`, `data_content_type`, `assetable_id`, `type`, `data_file_name`, `assetable_type`) VALUES ('2011-07-11 13:43:52', '2011-07-11 13:43:52', 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png', NULL)[0m
+ 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/10/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/10/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/10/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 153ms (Views: 0.4ms | ActiveRecord: 85.1ms)
- [1m[36mSQL (0.4ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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/10/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/10/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/10/content_rails.png
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 10
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (66.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `created_at`, `data_file_size`, `data_content_type`, `assetable_id`, `type`, `data_file_name`, `assetable_type`) VALUES ('2011-07-11 13:43:53', '2011-07-11 13:43:53', 6646, 'image/png', NULL, 'Ckeditor::Picture', 'rails.png', NULL)[0m
+[paperclip] deleting /var/www/gems/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/11/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/11/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/11/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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"=>11}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 11 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/11/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/11/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/11/content_rails.png
- [1m[35mAREL (0.4ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 11
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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 14ms
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (83.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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.4ms)[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 (6.5ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 84.9ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (41.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
+ [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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 43.5ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (24.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `title`, `created_at`, `content`) VALUES ('info', '2011-07-11 13:43:53', 'test', '2011-07-11 13:43:53', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:43:53 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.1ms)
-Completed 200 OK in 13ms (Views: 11.9ms | ActiveRecord: 26.5ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 13
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (55.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `title`, `created_at`, `content`) VALUES ('info', '2011-07-11 13:43:53', 'test', '2011-07-11 13:43:53', 'content')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:43:53 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 56.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 14[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (42.5ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`info`, `updated_at`, `title`, `created_at`, `content`) VALUES ('info', '2011-07-11 13:43:53', 'test', '2011-07-11 13:43:53', 'content')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:43:53 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 43.7ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 15
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `title`, `created_at`, `content`) VALUES ('info', '2011-07-11 13:43:53', 'test', '2011-07-11 13:43:53', 'content')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/16/edit" for 127.0.0.1 at Mon Jul 11 16:43:53 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"16"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 16 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 52.8ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 16[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (40.8ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbccfa50 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8243-125hmbd-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`type`, `assetable_id`, `data_file_name`, `data_file_size`, `updated_at`, `created_at`, `assetable_type`, `data_content_type`) VALUES ('Ckeditor::AttachmentFile', NULL, 'rails_tar.gz', 6823, '2011-07-11 13:48:04', '2011-07-11 13:48:04', NULL, 'application/x-gzip')
+ 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/12/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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.8ms | ActiveRecord: 2.4ms)
- [1m[35mSQL (0.4ms)[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.1ms)[0m SAVEPOINT active_record_1
+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/12/rails_tar.gz
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 12[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (66.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xbd369e4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8243-om8zu4-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`type`, `assetable_id`, `data_file_name`, `data_file_size`, `updated_at`, `created_at`, `assetable_type`, `data_content_type`) VALUES ('Ckeditor::AttachmentFile', NULL, 'rails_tar.gz', 6823, '2011-07-11 13:48:04', '2011-07-11 13:48:04', NULL, 'application/x-gzip')[0m
+ 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/13/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 111ms (Views: 0.4ms | ActiveRecord: 68.4ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/13/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 13
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (78.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
- [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.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+[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.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 26ms (Views: 24.3ms | ActiveRecord: 80.5ms)
- [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xbf04474 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8243-1m7o2qm-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`assetable_id`, `created_at`, `data_file_size`, `type`, `data_content_type`, `assetable_type`, `updated_at`, `data_file_name`) VALUES (NULL, '2011-07-11 13:48:29', 6646, 'Ckeditor::Picture', 'image/png', NULL, '2011-07-11 13:48:29', 'rails.png')
+ 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/14/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 175ms (Views: 1.2ms | ActiveRecord: 3.5ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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/14/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (53.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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"=>#<Rack::Test::UploadedFile:0xbd3ef90 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8243-1727rex-0>>}
- [1m[35mSQL (0.5ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_id`, `created_at`, `data_file_size`, `type`, `data_content_type`, `assetable_type`, `updated_at`, `data_file_name`) VALUES (NULL, '2011-07-11 13:48:30', 6646, 'Ckeditor::Picture', 'image/png', NULL, '2011-07-11 13:48:30', 'rails.png')[0m
+ 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/pictures/15/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/15/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/15/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 119ms (Views: 0.4ms | ActiveRecord: 56.4ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/pictures/15/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/15/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/15/content_rails.png
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 15
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (46.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_id`, `created_at`, `data_file_size`, `type`, `data_content_type`, `assetable_type`, `updated_at`, `data_file_name`) VALUES (NULL, '2011-07-11 13:48:30', 6646, 'Ckeditor::Picture', 'image/png', NULL, '2011-07-11 13:48:30', 'rails.png')[0m
+[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/pictures/16/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/16/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/16/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- Processing by Ckeditor::PicturesController#destroy as HTML
- Parameters: {"id"=>16}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 16 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/pictures/16/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/16/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/16/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 16
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Redirected to http://test.host/ckeditor/pictures
+[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[35mSQL (0.3ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+ [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.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (58.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[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 (7.8ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.5ms)
-Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 60.6ms)
- [1m[36mCkeditor::Picture Load (0.5ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] deleting /var/www/gems/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.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (33.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
+[paperclip] deleting /var/www/gems/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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 35.0ms)
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mCkeditor::Picture Load (0.5ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (66.4ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`content`, `title`, `created_at`, `updated_at`, `info`) VALUES ('content', 'test', '2011-07-11 13:48:30', '2011-07-11 13:48:30', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:48:30 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.7ms)
-Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 68.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 17
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (53.7ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`content`, `title`, `created_at`, `updated_at`, `info`) VALUES ('content', 'test', '2011-07-11 13:48:30', '2011-07-11 13:48:30', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:48:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 54.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 18[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (54.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`content`, `title`, `created_at`, `updated_at`, `info`) VALUES ('content', 'test', '2011-07-11 13:48:30', '2011-07-11 13:48:30', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:48:30 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.2ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 55.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 19
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `posts` (`content`, `title`, `created_at`, `updated_at`, `info`) VALUES ('content', 'test', '2011-07-11 13:48:30', '2011-07-11 13:48:30', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/20/edit" for 127.0.0.1 at Mon Jul 11 16:48:30 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"20"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 20 LIMIT 1[0m
-Rendered posts/_form.html.erb (117.9ms)
-Completed 200 OK in 124ms (Views: 121.9ms | ActiveRecord: 55.6ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 20[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (56.3ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.2ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) 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: {"upload"=>#<Rack::Test::UploadedFile:0xa84b8cc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8292-1fzlvgj-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `assetable_id`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-11 13:49:16', '2011-07-11 13:49:16')
+ 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/17/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 290ms (Views: 1.3ms | ActiveRecord: 2.6ms)
- [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.1ms)[0m SAVEPOINT active_record_1
+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/17/rails_tar.gz
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (71.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xa8b28c4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8292-1bnnpnc-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `assetable_id`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-11 13:49:16', '2011-07-11 13:49:16')[0m
+ 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/18/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 124ms (Views: 0.4ms | ActiveRecord: 73.5ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/18/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 18
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (76.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_type`, `assetable_id`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-11 13:49:17', '2011-07-11 13:49:17')[0m
+[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/19/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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"=>19}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 19 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/19/rails_tar.gz
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 19
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 7ms
- [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 (38.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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.5ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 39.1ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.5ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xaa00118 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8292-1egcqca-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`type`, `assetable_type`, `updated_at`, `created_at`, `data_content_type`, `assetable_id`, `data_file_size`, `data_file_name`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:49:32', '2011-07-11 13:49:32', 'image/png', NULL, 6646, 'rails.png')
+ 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/20/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 196ms (Views: 0.7ms | ActiveRecord: 3.9ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (61.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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:0xa8878e0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8292-7g7e8c-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`type`, `assetable_type`, `updated_at`, `created_at`, `data_content_type`, `assetable_id`, `data_file_size`, `data_file_name`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:49:32', '2011-07-11 13:49:32', 'image/png', NULL, 6646, 'rails.png')[0m
+ 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/21/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/21/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/21/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 174ms (Views: 0.4ms | ActiveRecord: 64.1ms)
- [1m[36mSQL (0.4ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/21/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/21/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/21/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 21
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (38.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO `ckeditor_assets` (`type`, `assetable_type`, `updated_at`, `created_at`, `data_content_type`, `assetable_id`, `data_file_size`, `data_file_name`) VALUES ('Ckeditor::Picture', NULL, '2011-07-11 13:49:32', '2011-07-11 13:49:32', 'image/png', NULL, 6646, 'rails.png')[0m
+[paperclip] deleting /var/www/gems/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/22/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/22/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/22/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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"=>22}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 22 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/22/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/22/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/22/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 22
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (59.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+ [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[35mCkeditor::Picture Load (0.4ms)[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 (5.1ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms)
-Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 61.1ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.4ms)[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' 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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 56.7ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (95.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.5ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `title`, `created_at`, `info`) VALUES ('2011-07-11 13:49:33', 'content', 'test', '2011-07-11 13:49:33', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 16:49:33 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (111.8ms)
-Completed 200 OK in 117ms (Views: 117.0ms | ActiveRecord: 97.2ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 21
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `title`, `created_at`, `info`) VALUES ('2011-07-11 13:49:33', 'content', 'test', '2011-07-11 13:49:33', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:49:33 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 53.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 22[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (64.3ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`updated_at`, `content`, `title`, `created_at`, `info`) VALUES ('2011-07-11 13:49:33', 'content', 'test', '2011-07-11 13:49:33', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 16:49:33 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 65.4ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 23
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (53.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`updated_at`, `content`, `title`, `created_at`, `info`) VALUES ('2011-07-11 13:49:33', 'content', 'test', '2011-07-11 13:49:33', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/24/edit" for 127.0.0.1 at Mon Jul 11 16:49:33 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"24"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 24 LIMIT 1[0m
-Rendered posts/_form.html.erb (4.3ms)
-Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 54.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 24[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (49.2ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) 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: {"upload"=>#<Rack::Test::UploadedFile:0xb33f210 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8617-566hz-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`assetable_type`, `created_at`, `type`, `assetable_id`, `data_file_size`, `data_file_name`, `updated_at`, `data_content_type`) VALUES (NULL, '2011-07-11 14:04:00', 'Ckeditor::AttachmentFile', NULL, 6823, 'rails_tar.gz', '2011-07-11 14:04:00', 'application/x-gzip')
+ 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/23/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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: 1.5ms | ActiveRecord: 2.2ms)
- [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.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 549ms (Views: 29.3ms | ActiveRecord: 2.0ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/23/rails_tar.gz
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 23[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (63.5ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xb3a6de8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110711-8617-fyu3hx-0>>}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_type`, `created_at`, `type`, `assetable_id`, `data_file_size`, `data_file_name`, `updated_at`, `data_content_type`) VALUES (NULL, '2011-07-11 14:04:00', 'Ckeditor::AttachmentFile', NULL, 6823, 'rails_tar.gz', '2011-07-11 14:04:00', 'application/x-gzip')[0m
+ 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/24/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 102ms (Views: 0.7ms | ActiveRecord: 65.4ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/24/rails_tar.gz
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 24
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (48.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`assetable_type`, `created_at`, `type`, `assetable_id`, `data_file_size`, `data_file_name`, `updated_at`, `data_content_type`) VALUES (NULL, '2011-07-11 14:04:00', 'Ckeditor::AttachmentFile', NULL, 6823, 'rails_tar.gz', '2011-07-11 14:04:00', 'application/x-gzip')[0m
+[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/25/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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"=>25}
- [1m[35mCkeditor::AttachmentFile Load (0.6ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 25 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/25/rails_tar.gz
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 25
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 8ms
- [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 (58.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[35mCkeditor::AttachmentFile Load (0.5ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 59.6ms)
- [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xb4d30f4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8617-fu754r-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.3ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.4ms)[0m INSERT INTO `ckeditor_assets` (`data_content_type`, `assetable_type`, `data_file_size`, `updated_at`, `type`, `assetable_id`, `data_file_name`, `created_at`) VALUES ('image/png', NULL, 6646, '2011-07-11 14:04:14', 'Ckeditor::Picture', NULL, 'rails.png', '2011-07-11 14:04:14')
+ 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/26/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/26/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/26/original_rails.png
- [1m[36mSQL (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 285ms (Views: 1.3ms | ActiveRecord: 3.5ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/26/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/26/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/26/content_rails.png
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 26[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (46.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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:0xb3607e4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110711-8617-c8rg69-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_content_type`, `assetable_type`, `data_file_size`, `updated_at`, `type`, `assetable_id`, `data_file_name`, `created_at`) VALUES ('image/png', NULL, 6646, '2011-07-11 14:04:14', 'Ckeditor::Picture', NULL, 'rails.png', '2011-07-11 14:04:14')[0m
+ 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/27/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/27/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/27/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 281ms (Views: 0.4ms | ActiveRecord: 49.6ms)
- [1m[36mSQL (0.4ms)[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'
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[35mAREL (0.4ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/27/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/27/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/27/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 27
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (56.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_content_type`, `assetable_type`, `data_file_size`, `updated_at`, `type`, `assetable_id`, `data_file_name`, `created_at`) VALUES ('image/png', NULL, 6646, '2011-07-11 14:04:14', 'Ckeditor::Picture', NULL, 'rails.png', '2011-07-11 14:04:14')[0m
+[paperclip] deleting /var/www/gems/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/28/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/28/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/28/original_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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"=>28}
- [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 28 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/28/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/28/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/28/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 28
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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 7ms
- [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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.1ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (52.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[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 (5.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.5ms)
-Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 54.3ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (56.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [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' 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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 58.4ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (51.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m describe `posts`
- [1m[36mAREL (0.1ms)[0m [1mINSERT INTO `posts` (`created_at`, `updated_at`, `title`, `content`, `info`) VALUES ('2011-07-11 14:04:15', '2011-07-11 14:04:15', 'test', 'content', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/new" for 127.0.0.1 at Mon Jul 11 17:04:15 +0300 2011
- Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 52.7ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 25
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (58.2ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`created_at`, `updated_at`, `title`, `content`, `info`) VALUES ('2011-07-11 14:04:15', '2011-07-11 14:04:15', 'test', 'content', 'info')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 17:04:15 +0300 2011
- Processing by PostsController#index as HTML
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts`[0m
-Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 59.3ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 26[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (65.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `posts` (`created_at`, `updated_at`, `title`, `content`, `info`) VALUES ('2011-07-11 14:04:15', '2011-07-11 14:04:15', 'test', 'content', 'info')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-
-
-Started GET "/posts" for 127.0.0.1 at Mon Jul 11 17:04:15 +0300 2011
- Processing by PostsController#index as HTML
- [1m[35mPost Load (0.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 66.4ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 27
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (51.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`created_at`, `updated_at`, `title`, `content`, `info`) VALUES ('2011-07-11 14:04:15', '2011-07-11 14:04:15', 'test', 'content', 'info')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-
-
-Started GET "/posts/28/edit" for 127.0.0.1 at Mon Jul 11 17:04:15 +0300 2011
- Processing by PostsController#edit as HTML
- Parameters: {"id"=>"28"}
- [1m[36mPost Load (0.4ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 28 LIMIT 1[0m
-Rendered posts/_form.html.erb (6.3ms)
-Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 52.6ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 28[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (35.9ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.3ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+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.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) 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: {"upload"=>#<Rack::Test::UploadedFile:0xb0bcbb4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2550-zm5wl2-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.9ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.8ms)[0m INSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45')
+ 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/3/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 447ms (Views: 14.3ms | ActiveRecord: 3.4ms)
- [1m[35mSQL (0.4ms)[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.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 549ms (Views: 29.2ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/3/rails_tar.gz
- [1m[36mAREL (0.4ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 3[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (82.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xb112064 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2550-k4v3ly-0>>}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45')[0m
+ 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/4/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 81ms (Views: 0.4ms | ActiveRecord: 84.8ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/4/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 4
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (55.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_size`, `updated_at`, `assetable_id`, `type`, `data_content_type`, `assetable_type`, `data_file_name`, `created_at`) VALUES (6823, '2011-07-13 07:14:45', NULL, 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, 'rails_tar.gz', '2011-07-13 07:14:45')[0m
+[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/5/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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"=>5}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/5/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 5
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 71ms
- [1m[35mSQL (0.4ms)[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 (50.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+Completed 302 Found in 93ms
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#index as HTML
- [1m[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 51.7ms)
- [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.3ms)
+Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.0ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xb258338 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2550-11khc6g-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59')
+ 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/6/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 745ms (Views: 1.0ms | ActiveRecord: 3.2ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/6/content_rails.png
- [1m[36mAREL (0.6ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 6[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (66.6ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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:0xb3fa8a8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2550-1vv80gd-0>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59')[0m
+ 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/7/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 199ms (Views: 0.7ms | ActiveRecord: 69.8ms)
- [1m[36mSQL (0.4ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/7/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 7
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (62.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_file_size`, `assetable_id`, `data_file_name`, `assetable_type`, `data_content_type`, `updated_at`) VALUES ('2011-07-13 07:14:59', 'Ckeditor::Picture', 6646, NULL, 'rails.png', NULL, 'image/png', '2011-07-13 07:14:59')[0m
+[paperclip] deleting /var/www/gems/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/8/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+[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"=>8}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/8/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/8/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 8
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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[35mSQL (0.3ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (86.9ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[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 (5.1ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 88.6ms)
- [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.1ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (52.6ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [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' 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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 54.1ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (41.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+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 Wed Jul 13 10:15:00 +0300 2011
+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 (4.0ms)
-Completed 200 OK in 57ms (Views: 56.3ms | ActiveRecord: 43.5ms)
- [1m[36mSQL (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (46.0ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (7.5ms)
+Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.807466', '2011-08-08 18:36:41.807466')
-Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
+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 17ms (Views: 16.2ms | ActiveRecord: 47.0ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (53.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.7ms)
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.826829', '2011-08-08 18:36:41.826829')[0m
-Started GET "/posts" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
+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.7ms | ActiveRecord: 54.0ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 3
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (40.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`info`, `updated_at`, `created_at`, `content`, `title`) VALUES ('info', '2011-07-13 07:15:00', '2011-07-13 07:15:00', 'content', 'test')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-08-08 18:36:41.842380', '2011-08-08 18:36:41.842380')
-Started GET "/posts/4/edit" for 127.0.0.1 at Wed Jul 13 10:15:00 +0300 2011
+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"=>"4"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 4 LIMIT 1[0m
-Rendered posts/_form.html.erb (5.5ms)
-Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 41.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 4[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (63.7ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+ 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.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.4ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbd19920 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2609-dyoq72-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (1.0ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:26', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:26', 6823)
+ 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/9/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 290ms (Views: 1.4ms | ActiveRecord: 2.8ms)
- [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.1ms)[0m SAVEPOINT active_record_1
+Completed 200 OK in 266ms (Views: 2.5ms | ActiveRecord: 1.9ms)
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/attachments/9/rails_tar.gz
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 9[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (105.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xbd6f03c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-2609-150tn1j-0>>}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:27', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:27', 6823)[0m
+ 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/10/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 143ms (Views: 0.6ms | ActiveRecord: 107.7ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/10/rails_tar.gz
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 10
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (87.8ms)[0m ROLLBACK
- [1m[36mSQL (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`created_at`, `type`, `data_content_type`, `assetable_type`, `assetable_id`, `data_file_name`, `updated_at`, `data_file_size`) VALUES ('2011-07-13 07:16:27', 'Ckeditor::AttachmentFile', 'application/x-gzip', NULL, NULL, 'rails_tar.gz', '2011-07-13 07:16:27', 6823)[0m
+[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/11/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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"=>11}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/11/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 11
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 101ms
- [1m[35mSQL (0.4ms)[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 (52.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 53.7ms)
- [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.5ms)
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xbec65e8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2609-1phspf3-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture')
+ 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/12/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 154ms (Views: 1.1ms | ActiveRecord: 3.3ms)
- [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
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/12/content_rails.png
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 12[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (74.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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:0xbd3c1b4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-2609-mvpgnf-0>>}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture')[0m
+ 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/13/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 187ms (Views: 0.7ms | ActiveRecord: 77.4ms)
- [1m[36mSQL (0.4ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/13/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 13
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (54.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`updated_at`, `data_content_type`, `created_at`, `data_file_name`, `assetable_type`, `data_file_size`, `assetable_id`, `type`) VALUES ('2011-07-13 07:16:42', 'image/png', '2011-07-13 07:16:42', 'rails.png', NULL, 6646, NULL, 'Ckeditor::Picture')[0m
+[paperclip] deleting /var/www/gems/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/14/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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"=>14}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/14/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/14/content_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 14
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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 13ms
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (85.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[35mCkeditor::Picture Load (0.4ms)[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 (6.4ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms)
-Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 87.4ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (56.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.3ms)[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' 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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 58.0ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (41.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.3ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+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 Wed Jul 13 10:16:43 +0300 2011
+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 (4.5ms)
-Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 43.4ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 5
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (47.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.1ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+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 Wed Jul 13 10:16:43 +0300 2011
+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 5ms (Views: 3.7ms | ActiveRecord: 47.9ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 6[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (43.9ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43')
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("title", "created_at", "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 Wed Jul 13 10:16:43 +0300 2011
+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 4ms (Views: 3.0ms | ActiveRecord: 44.8ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 7
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (44.1ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `updated_at`, `created_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:16:43', '2011-07-13 07:16:43')[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("title", "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/8/edit" for 127.0.0.1 at Wed Jul 13 10:16:43 +0300 2011
+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"=>"8"}
- [1m[36mPost Load (0.2ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 8 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 45.1ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 8[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (40.9ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1mSHOW TABLES[0m
- [1m[35mSQL (0.3ms)[0m SHOW TABLES
- [1m[36mSQL (0.1ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations`[0m
+ 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[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[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:0xa2e78a4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6186-rmxhwn>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.6ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:09', '2011-07-13 07:25:09')
+ 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/15/rails_tar.gz
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 439ms (Views: 52.2ms | ActiveRecord: 2.5ms)
- [1m[35mSQL (0.4ms)[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.1ms)[0m SAVEPOINT active_record_1
+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/15/rails_tar.gz
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 15[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (55.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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:0xa4b45ec @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6186-wf20qe>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:09', '2011-07-13 07:25:09')[0m
+ 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/16/rails_tar.gz
- [1m[35mSQL (0.2ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 97ms (Views: 0.7ms | ActiveRecord: 57.8ms)
- [1m[36mSQL (0.3ms)[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'
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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/16/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 16
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (62.8ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 07:25:10', '2011-07-13 07:25:10')[0m
+[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/17/rails_tar.gz
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
+[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"=>17}
- [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/17/rails_tar.gz
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' AND `ckeditor_assets`.`id` = 17
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[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 53ms
- [1m[35mSQL (0.4ms)[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 (67.3ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[35mCkeditor::AttachmentFile Load (0.4ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 68.4ms)
- [1m[36mCkeditor::AttachmentFile Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK
- [1m[36mSQL (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::AttachmentFile'
+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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.0ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.0ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.2ms)[0m BEGIN
- [1m[36mSQL (0.4ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+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:0xac3b734 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-12xl642>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.8ms)[0m [1mdescribe `ckeditor_assets`[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27')
+ 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/18/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
-Completed 200 OK in 237ms (Views: 0.9ms | ActiveRecord: 3.9ms)
- [1m[35mSQL (0.4ms)[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[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
+[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.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/18/thumb_rails.png
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 18[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (57.8ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/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:0x9c6989c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6186-1susr1w>>}
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27')[0m
+ 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/19/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
-Completed 200 OK in 178ms (Views: 0.6ms | ActiveRecord: 60.6ms)
- [1m[36mSQL (0.4ms)[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[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+[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.
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/19/thumb_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 19
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (60.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO `ckeditor_assets` (`data_file_name`, `data_content_type`, `data_file_size`, `assetable_id`, `assetable_type`, `type`, `created_at`, `updated_at`) VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 07:25:27', '2011-07-13 07:25:27')[0m
+[paperclip] deleting /var/www/gems/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/20/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
+[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"=>20}
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20 LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ 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/20/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/20/thumb_rails.png
- [1m[35mAREL (0.3ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 20
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+[paperclip] deleting /var/www/gems/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 8ms
- [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
- [1m[35mSQL (0.0ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (47.5ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
+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[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 (6.2ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.3ms)
-Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 49.2ms)
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT `ckeditor_assets`.* FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture'[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (46.2ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.4ms)[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' 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}
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 47.8ms)
- [1m[36mSQL (0.1ms)[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[36mSQL (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
-[paperclip] Deleting attachments.
- [1m[35mAREL (0.2ms)[0m DELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 1
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
-[paperclip] Deleting attachments.
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM `ckeditor_assets` WHERE `ckeditor_assets`.`type` = 'Ckeditor::Picture' AND `ckeditor_assets`.`id` = 2[0m
- [1m[35mSQL (0.0ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (41.1ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m describe `posts`
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+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 2011-07-13 10:25:28 +0300
+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 (4.4ms)
-Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 42.9ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.3ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 9
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (41.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+Rendered posts/_form.html.erb (6.6ms)
+Completed 200 OK in 141ms (Views: 140.1ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.730229', '2011-08-14 10:34:23.730229', 'test')
-Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
+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 6ms (Views: 4.7ms | ActiveRecord: 42.5ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 10[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (46.7ms)[0m [1mROLLBACK[0m
- [1m[35mSQL (0.1ms)[0m BEGIN
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28')
- [1m[36mSQL (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.6ms)
+ [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
+ [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.747411', '2011-08-14 10:34:23.747411', 'test')[0m
-Started GET "/posts" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
+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.3ms)[0m SELECT `posts`.* FROM `posts`
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 47.9ms)
- [1m[36mSQL (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mAREL (0.2ms)[0m DELETE FROM `posts` WHERE `posts`.`id` = 11
- [1m[36mSQL (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mSQL (43.4ms)[0m ROLLBACK
- [1m[36mSQL (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO `posts` (`title`, `info`, `content`, `created_at`, `updated_at`) VALUES ('test', 'info', 'content', '2011-07-13 07:25:28', '2011-07-13 07:25:28')[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms)
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
+ [1m[35mAREL (0.3ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-08-14 10:34:23.762059', '2011-08-14 10:34:23.762059', 'test')
-Started GET "/posts/12/edit" for 127.0.0.1 at 2011-07-13 10:25:28 +0300
+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"=>"12"}
- [1m[36mPost Load (0.3ms)[0m [1mSELECT `posts`.* FROM `posts` WHERE `posts`.`id` = 12 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 44.4ms)
- [1m[35mSQL (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mAREL (0.3ms)[0m [1mDELETE FROM `posts` WHERE `posts`.`id` = 12[0m
- [1m[35mSQL (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mSQL (40.1ms)[0m [1mROLLBACK[0m
- [1m[36mSQL (0.4ms)[0m [1m SELECT name
+ 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 (138.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [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 (89.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [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.2ms)[0m [1m SELECT name
+ [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.3ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "info" text, "content" text, "created_at" datetime, "updated_at" datetime) [0m
+ [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, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "created_at" datetime, "updated_at" datetime) [0m
+ [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.3ms)[0m [1mCREATE INDEX "idx_ckeditor_assetable_type" ON "ckeditor_assets" ("assetable_type", "type", "assetable_id")[0m
+ [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[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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:0xb846f74 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6937-1e0k58v>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.145103', '2011-07-13 08:01:22.145103')
+ 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 261ms (Views: 9.4ms | ActiveRecord: 231.9ms)
+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.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) 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"=>#<Rack::Test::UploadedFile:0xb560620 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110713-6937-1vngz5d>>}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.272273', '2011-07-13 08:01:22.272273')[0m
+ 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 96ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[35mSQL (0.1ms)[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
+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.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", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails_tar.gz', 'application/x-gzip', 6823, NULL, NULL, 'Ckeditor::AttachmentFile', '2011-07-13 08:01:22.361618', '2011-07-13 08:01:22.361618')[0m
+ [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.6ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [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
+ [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 33ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.4ms)
- [1m[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
+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 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
+ [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:0xbf2e47c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-ptcqz3>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:44.997826', '2011-07-13 08:01:44.997826')
+ 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
-Completed 200 OK in 491ms (Views: 1.2ms | ActiveRecord: 1.0ms)
+[paperclip] saving /var/www/gems/ckeditor/test/dummy/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.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb26fb78 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110713-6937-638skb>>}
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:45.233505', '2011-07-13 08:01:45.233505')[0m
+ 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
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
-Completed 200 OK in 176ms (Views: 0.5ms | ActiveRecord: 1.2ms)
+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.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "data_content_type", "data_file_size", "assetable_id", "assetable_type", "type", "created_at", "updated_at") VALUES ('rails.png', 'image/png', 6646, NULL, NULL, 'Ckeditor::Picture', '2011-07-13 08:01:45.390100', '2011-07-13 08:01:45.390100')[0m
+[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
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#destroy as HTML
Parameters: {"id"=>1}
- [1m[36mCkeditor::Picture Load (0.4ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
+[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 8ms
- [1m[36mSQL (0.1ms)[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'
+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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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}
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[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[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[36mAREL (0.2ms)[0m [1mINSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.440380', '2011-07-13 08:01:45.440380')[0m
+ [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 2011-07-13 11:01:45 +0300
+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 (4.6ms)
-Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.6ms)
+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.2ms)[0m [1mINSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.510919', '2011-07-13 08:01:45.510919')[0m
+ [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 2011-07-13 11:01:45 +0300
+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 5ms (Views: 4.3ms | ActiveRecord: 0.4ms)
+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.2ms)[0m INSERT INTO "posts" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.522856', '2011-07-13 08:01:45.522856')
+ [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 2011-07-13 11:01:45 +0300
+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: 5.0ms | ActiveRecord: 0.5ms)
+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" ("title", "info", "content", "created_at", "updated_at") VALUES ('test', 'info', 'content', '2011-07-13 08:01:45.537227', '2011-07-13 08:01:45.537227')[0m
+ [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 2011-07-13 11:01:45 +0300
+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.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1
-Rendered posts/_form.html.erb (3.8ms)
-Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.7ms)
+ [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.5ms)[0m [1m SELECT name
+ [1m[36mSQL (0.8ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [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: {"upload"=>#<Rack::Test::UploadedFile:0xb7ff728 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3764-11pi9eq-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (10.7ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.115848', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.115848')[0m
+ 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 480ms (Views: 14.4ms | ActiveRecord: 11.6ms)
+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.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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:0xb7bde18 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3764-oo6v06-0>>}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.304415', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.304415')
+ 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 126ms (Views: 0.6ms | ActiveRecord: 1.2ms)
+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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_size", "data_file_name", "updated_at", "type", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 6823, 'rails_tar.gz', '2011-07-29 08:25:36.415907', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-07-29 08:25:36.415907')
+ [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
- [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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[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
+ [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[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 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 9ms
- [1m[35mSQL (0.1ms)[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
+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[35mCkeditor::AttachmentFile Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[36mCkeditor::AttachmentFile Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.4ms)
-Completed 200 OK in 58ms (Views: 57.5ms | ActiveRecord: 0.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 COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.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.6ms | ActiveRecord: 0.4ms)
- [1m[36mSQL (0.1ms)[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'
+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: {"upload"=>#<Rack::Test::UploadedFile:0xb7e3820 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3764-1codzix-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:07.967823', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:07.967823', 'image/png')
+ 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 555ms (Views: 1.1ms | ActiveRecord: 0.8ms)
- [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
[1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xb60e4f0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3764-1jan4mf-0>>}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:08.157197', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:08.157197', 'image/png')[0m
+ 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 175ms (Views: 0.4ms | ActiveRecord: 1.3ms)
+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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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" ("type", "created_at", "data_file_name", "data_file_size", "assetable_id", "assetable_type", "updated_at", "data_content_type") VALUES ('Ckeditor::Picture', '2011-07-29 08:26:08.313253', 'rails.png', 6646, NULL, NULL, '2011-07-29 08:26:08.313253', 'image/png')[0m
+ [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.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [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
+ [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 9ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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
+ [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 19ms (Views: 18.4ms | ActiveRecord: 0.5ms)
- [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.378151', 'content', 'info', 'test', '2011-07-29 08:26:08.378151')
+ [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 Fri Jul 29 11:26:08 +0300 2011
+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 (5.1ms)
-Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.5ms)
+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.1ms)[0m INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.518463', 'content', 'info', 'test', '2011-07-29 08:26:08.518463')
+ [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 Fri Jul 29 11:26:08 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m [1mINSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.544794', 'content', 'info', 'test', '2011-07-29 08:26:08.544794')[0m
+ [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 Fri Jul 29 11:26:08 +0300 2011
+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.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.5ms)
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-07-29 08:26:08.555844', 'content', 'info', 'test', '2011-07-29 08:26:08.555844')
+ [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 Fri Jul 29 11:26:08 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms)
+ [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:0xa5567e8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3808-91fn99-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000001'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e326eecde2f150ee0000001/rails_tar.gz
+[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 263ms (Views: 1.6ms | ActiveRecord: 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/4e326eecde2f150ee0000001/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000001')})
+[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:0xa676218 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110729-3808-a70iqt-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e326eecde2f150ee0000002/rails_tar.gz
-Completed 200 OK in 111ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+[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/4e326eecde2f150ee0000002/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000002')})
+[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['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "updated_at"=>Fri Jul 29 08:27:24 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e326eecde2f150ee0000003'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+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/4e326eecde2f150ee0000003/rails_tar.gz
+[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('4e326eecde2f150ee0000003')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+ 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/4e326eecde2f150ee0000003/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326eecde2f150ee0000003')})
+[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 7ms
+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 (3.4ms)
-Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 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 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+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({})
@@ -6756,3432 +4158,3289 @@
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:0xa70b818 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3808-dkverl-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000005'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e326f16de2f150ee0000005/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png
-Completed 200 OK in 205ms (Views: 1.3ms | ActiveRecord: 0.0ms)
+[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/4e326f16de2f150ee0000005/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000005/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000005')})
+[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:0xa512c64 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110729-3808-1imr94a-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000006'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e326f16de2f150ee0000006/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png
-Completed 200 OK in 252ms (Views: 0.4ms | ActiveRecord: 0.0ms)
+[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/4e326f16de2f150ee0000006/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000006/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000006')})
+[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['ckeditor_assets'].insert([{"created_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "updated_at"=>Fri Jul 29 08:28:06 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e326f16de2f150ee0000007'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+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/4e326f16de2f150ee0000007/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png
+[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('4e326f16de2f150ee0000007')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
+ 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/4e326f16de2f150ee0000007/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e326f16de2f150ee0000007/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000007')})
+[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 9ms
+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.5ms)
-Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 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 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
+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('4e326f16de2f150ee0000009'), "info"=>"info", "content"=>"content"}])
+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 Fri Jul 29 11:28:06 +0300 2011
+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 (4.6ms)
-Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee0000009')})
+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('4e326f16de2f150ee000000b'), "info"=>"info", "content"=>"content"}])
+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 Fri Jul 29 11:28:06 +0300 2011
+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 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000b')})
+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('4e326f16de2f150ee000000c'), "info"=>"info", "content"=>"content"}])
+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 Fri Jul 29 11:28:06 +0300 2011
+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.9ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000c')})
+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('4e326f16de2f150ee000000d'), "info"=>"info", "content"=>"content"}])
+MONGODB ckeditor-test-suite['posts'].insert([{"title"=>"test", "_id"=>BSON::ObjectId('4e47ae75de2f15130300000f'), "info"=>"info", "content"=>"content"}])
-Started GET "/posts/4e326f16de2f150ee000000d/edit" for 127.0.0.1 at Fri Jul 29 11:28:06 +0300 2011
+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"=>"4e326f16de2f150ee000000d"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')})
-Rendered posts/_form.html.erb (3.5ms)
-Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e326f16de2f150ee000000d')})
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ 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.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+ [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:0xbb27f18 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-3353-xle0u4-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "assetable_id", "type", "data_file_name", "data_content_type", "assetable_type", "created_at") VALUES (6823, '2011-08-23 08:05:49.035847', NULL, 'Ckeditor::AttachmentFile', 'rails_tar.gz', 'application/x-gzip', NULL, '2011-08-23 08:05:49.035847')[0m
+ [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
-Rendered text template (0.0ms)
-Completed 200 OK in 457ms (Views: 13.0ms | ActiveRecord: 1.5ms)
- [1m[35mSQL (0.1ms)[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
-[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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbaca318 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-3353-u2enpm-0>>}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "assetable_id", "type", "data_file_name", "data_content_type", "assetable_type", "created_at") VALUES (6823, '2011-08-23 08:05:49.193148', NULL, 'Ckeditor::AttachmentFile', 'rails_tar.gz', 'application/x-gzip', NULL, '2011-08-23 08:05:49.193148')
+ 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
-Completed 200 OK in 108ms (Views: 0.5ms | ActiveRecord: 0.9ms)
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "assetable_id", "type", "data_file_name", "data_content_type", "assetable_type", "created_at") VALUES (6823, '2011-08-23 08:05:49.293897', NULL, 'Ckeditor::AttachmentFile', 'rails_tar.gz', 'application/x-gzip', NULL, '2011-08-23 08:05:49.293897')[0m
+ 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 95ms (Views: 0.6ms | ActiveRecord: 0.8ms)
+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[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "assetable_id", "type", "data_file_name", "data_content_type", "assetable_type", "created_at") VALUES (6823, '2011-08-23 08:05:49.394570', NULL, 'Ckeditor::AttachmentFile', 'rails_tar.gz', 'application/x-gzip', NULL, '2011-08-23 08:05:49.394570')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"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
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
+ [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[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1
+ [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 7ms
- [1m[36mSQL (0.1ms)[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'
+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[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc[0m
+ [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.6ms)
-Completed 200 OK in 57ms (Views: 56.5ms | ActiveRecord: 0.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
+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 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
+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:0xbc98348 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-3353-gubk0f-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "assetable_type", "updated_at", "created_at", "assetable_id", "type", "data_file_size", "data_file_name") VALUES ('image/png', NULL, '2011-08-23 08:06:49.135164', '2011-08-23 08:06:49.135164', NULL, 'Ckeditor::Picture', 6646, 'rails.png')[0m
+ 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/content_rails.png
[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
-Completed 200 OK in 597ms (Views: 1.1ms | ActiveRecord: 0.9ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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
+[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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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:0xba64b08 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-3353-38e3p0-0>>}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "assetable_type", "updated_at", "created_at", "assetable_id", "type", "data_file_size", "data_file_name") VALUES ('image/png', NULL, '2011-08-23 08:06:49.368586', '2011-08-23 08:06:49.368586', NULL, 'Ckeditor::Picture', 6646, 'rails.png')
+ 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/content_rails.png
[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
-Completed 200 OK in 221ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[36mSQL (0.1ms)[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'
+[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/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
+[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", "assetable_type", "updated_at", "created_at", "assetable_id", "type", "data_file_size", "data_file_name") VALUES ('image/png', NULL, '2011-08-23 08:06:49.542153', '2011-08-23 08:06:49.542153', NULL, 'Ckeditor::Picture', 6646, 'rails.png')[0m
+ [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/content_rails.png
[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
-Completed 200 OK in 164ms (Views: 0.5ms | ActiveRecord: 1.0ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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
+[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.6ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "assetable_type", "updated_at", "created_at", "assetable_id", "type", "data_file_size", "data_file_name") VALUES ('image/png', NULL, '2011-08-23 08:06:49.685788', '2011-08-23 08:06:49.685788', NULL, 'Ckeditor::Picture', 6646, 'rails.png')[0m
+ [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/content_rails.png
[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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 6ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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
+ [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 26ms (Views: 25.0ms | ActiveRecord: 0.3ms)
+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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("title", "created_at", "info", "updated_at", "content") VALUES ('test', '2011-08-23 08:06:49.749781', 'info', '2011-08-23 08:06:49.749781', 'content')
+ [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 Tue Aug 23 11:06:49 +0300 2011
+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 (5.1ms)
-Completed 200 OK in 57ms (Views: 55.8ms | ActiveRecord: 0.4ms)
+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", "created_at", "info", "updated_at", "content") VALUES ('test', '2011-08-23 08:06:49.889569', 'info', '2011-08-23 08:06:49.889569', 'content')
+ [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 Tue Aug 23 11:06:49 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.6ms)
+ [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.1ms)[0m [1mINSERT INTO "posts" ("title", "created_at", "info", "updated_at", "content") VALUES ('test', '2011-08-23 08:06:49.912066', 'info', '2011-08-23 08:06:49.912066', 'content')[0m
+ [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 Tue Aug 23 11:06:49 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 18:04:33 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("title", "created_at", "info", "updated_at", "content") VALUES ('test', '2011-08-23 08:06:49.921013', 'info', '2011-08-23 08:06:49.921013', 'content')
+ [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 Tue Aug 23 11:06:49 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms)
+ [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.5ms)[0m [1m SELECT name
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [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.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_content_type", "type", "data_file_size", "created_at", "updated_at", "data_file_name") VALUES (NULL, NULL, 'application/x-gzip', 'Ckeditor::AttachmentFile', 6823, '2011-08-23 09:15:41.297366', '2011-08-23 09:15:41.297366', 'rails_tar.gz')
+ [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[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "data_file_size", "type", "data_content_type", "created_at", "data_file_name", "updated_at", "assetable_id") VALUES (NULL, 6646, 'Ckeditor::Picture', 'image/png', '2011-08-23 09:15:41.494141', 'rails.png', '2011-08-23 09:15:41.494141', NULL)[0m
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile: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/pictures/1/original_rails.png
-[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/content_rails.png
- [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 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.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "created_at", "data_file_size", "type", "data_file_name", "assetable_id", "data_content_type", "updated_at") VALUES (NULL, '2011-08-23 09:16:40.503285', 6823, 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 'application/x-gzip', '2011-08-23 09:16:40.503285')
+[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
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_content_type", "data_file_size", "type", "assetable_id", "updated_at", "data_file_name", "assetable_type") VALUES ('2011-08-23 09:16:40.744552', 'image/png', 6646, 'Ckeditor::Picture', NULL, '2011-08-23 09:16:40.744552', 'rails.png', NULL)[0m
+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
- [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 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.3ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_name", "created_at", "assetable_id", "data_file_size", "data_content_type", "updated_at", "assetable_type") VALUES ('Ckeditor::AttachmentFile', 'rails_tar.gz', '2011-08-23 09:17:06.187974', NULL, 6823, 'application/x-gzip', '2011-08-23 09:17:06.187974', NULL)
+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/attachments/1/rails_tar.gz
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "type", "data_file_name", "created_at", "data_content_type", "data_file_size", "assetable_type", "assetable_id") VALUES ('2011-08-23 09:17:06.337372', 'Ckeditor::Picture', 'rails.png', '2011-08-23 09:17:06.337372', 'image/png', 6646, NULL, NULL)[0m
+[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[36mSQL (0.5ms)[0m [1m SELECT name
+ [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.1ms)[0m SELECT name
+ [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.3ms)[0m INSERT INTO "ckeditor_assets" ("type", "data_file_size", "data_content_type", "created_at", "updated_at", "assetable_id", "data_file_name", "assetable_type") VALUES ('Ckeditor::AttachmentFile', 6823, 'application/x-gzip', '2011-08-23 09:17:30.693968', '2011-08-23 09:17:30.693968', NULL, 'rails_tar.gz', NULL)
+ [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[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "data_content_type", "data_file_size", "data_file_name", "updated_at", "created_at", "assetable_id", "type") VALUES (NULL, 'image/png', 6646, 'rails.png', '2011-08-23 09:17:30.868507', '2011-08-23 09:17:30.868507', NULL, 'Ckeditor::Picture')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile: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/pictures/1/original_rails.png
-[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/content_rails.png
- [1m[36mSQL (0.3ms)[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 (178.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
- [1m[36mSQL (104.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35mSQL (0.3ms)[0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
- [1m[36mSQL (0.2ms)[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.8ms)[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.6ms)[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), "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.2ms)[0m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "assetable_id", "assetable_type", "height", "created_at", "data_file_size", "type", "updated_at", "data_file_name", "data_content_type") VALUES (NULL, NULL, NULL, NULL, '2011-08-23 09:19:37.564707', 6823, 'Ckeditor::AttachmentFile', '2011-08-23 09:19:37.564707', 'rails_tar.gz', 'application/x-gzip')[0m
+[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
- [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 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" ("width", "assetable_id", "type", "data_file_name", "height", "data_file_size", "data_content_type", "updated_at", "assetable_type", "created_at") VALUES (NULL, NULL, 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, 'application/x-gzip', '2011-08-23 09:20:13.515546', NULL, '2011-08-23 09:20:13.515546')
+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
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "height", "assetable_id", "data_content_type", "created_at", "data_file_size", "type", "assetable_type", "data_file_name", "width") VALUES ('2011-08-23 09:20:13.785485', 64, NULL, 'image/png', '2011-08-23 09:20:13.785485', 6646, 'Ckeditor::Picture', NULL, 'rails.png', 50)[0m
+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
- [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 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.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_type", "data_content_type", "created_at", "data_file_size", "type", "assetable_id", "height", "updated_at", "width") VALUES ('rails_tar.gz', NULL, 'application/x-gzip', '2011-08-23 09:20:27.879237', 6823, 'Ckeditor::AttachmentFile', NULL, NULL, '2011-08-23 09:20:27.879237', NULL)
+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/attachments/1/rails_tar.gz
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "height", "data_file_name", "created_at", "assetable_type", "data_content_type", "assetable_id", "data_file_size", "type", "updated_at") VALUES (50, 64, 'rails.png', '2011-08-23 09:20:28.025418', NULL, 'image/png', NULL, 6646, 'Ckeditor::Picture', '2011-08-23 09:20:28.025418')[0m
+[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[36mSQL (0.5ms)[0m [1m SELECT name
+ [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.1ms)[0m SELECT name
+ [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.4ms)[0m INSERT INTO "ckeditor_assets" ("type", "updated_at", "created_at", "assetable_type", "data_file_size", "data_file_name", "data_content_type", "assetable_id", "width", "height") VALUES ('Ckeditor::AttachmentFile', '2011-08-23 09:20:41.410525', '2011-08-23 09:20:41.410525', NULL, 6823, 'rails_tar.gz', 'application/x-gzip', NULL, NULL, NULL)
+ [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[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("type", "data_content_type", "data_file_name", "assetable_type", "width", "height", "updated_at", "assetable_id", "data_file_size", "created_at") VALUES ('Ckeditor::Picture', 'image/png', 'rails.png', NULL, 50, 64, '2011-08-23 09:20:41.568643', NULL, 6646, '2011-08-23 09:20:41.568643')[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ Processing by Ckeditor::AttachmentFilesController#create as HTML
+ Parameters: {"upload"=>#<Rack::Test::UploadedFile: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
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:26:20 UTC 2011, "data_updated_at"=>Tue Aug 23 09:26:20 UTC 2011, "updated_at"=>Tue Aug 23 09:26:20 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53723cde2f151212000001'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+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/attachments/4e53723cde2f151212000001/rails_tar.gz
-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"=>Tue Aug 23 09:26:21 UTC 2011, "data_updated_at"=>Tue Aug 23 09:26:20 UTC 2011, "updated_at"=>Tue Aug 23 09:26:21 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53723dde2f151212000002'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+[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/4e53723dde2f151212000002/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53723dde2f151212000002/thumb_rails.png
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:30:27 UTC 2011, "data_updated_at"=>Tue Aug 23 09:30:27 UTC 2011, "updated_at"=>Tue Aug 23 09:30:27 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537333de2f15123b000001'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+[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/attachments/4e537333de2f15123b000001/rails_tar.gz
-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"=>Tue Aug 23 09:30:28 UTC 2011, "data_updated_at"=>Tue Aug 23 09:30:27 UTC 2011, "updated_at"=>Tue Aug 23 09:30:28 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537334de2f15123b000002'), "_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/4e537334de2f15123b000002/original_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537334de2f15123b000002/thumb_rails.png
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
+[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.1ms)[0m SELECT name
+ [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.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "height", "data_file_size", "width", "data_file_name", "type", "assetable_type", "updated_at", "created_at", "assetable_id") VALUES ('application/x-gzip', NULL, 6823, NULL, 'rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, '2011-08-23 09:31:08.045557', '2011-08-23 09:31:08.045557', NULL)
- [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 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.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "data_file_name", "created_at", "height", "assetable_type", "type", "updated_at", "width", "data_content_type", "assetable_id") VALUES (6823, 'rails.tar.gz', '2011-08-23 09:32:03.594047', NULL, NULL, 'Ckeditor::AttachmentFile', '2011-08-23 09:32:03.594047', NULL, 'application/x-gzip', NULL)
- [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 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.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "data_file_name", "width", "assetable_id", "data_file_size", "type", "updated_at", "assetable_type", "data_content_type", "created_at") VALUES (NULL, 'rails.tar.gz', NULL, NULL, 6823, 'Ckeditor::AttachmentFile', '2011-08-23 09:34:49.334123', NULL, 'application/x-gzip', '2011-08-23 09:34:49.334123')
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "updated_at", "created_at", "assetable_type", "data_file_size", "assetable_id", "height", "type", "data_content_type", "width") VALUES ('rails.png', '2011-08-23 09:34:49.926761', '2011-08-23 09:34:49.926761', NULL, 6646, NULL, 64, 'Ckeditor::Picture', 'image/png', 50)[0m
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[0m SELECT 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.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "type", "updated_at", "created_at", "width", "assetable_id", "data_content_type", "data_file_size", "data_file_name", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', '2011-08-23 09:35:36.087689', '2011-08-23 09:35:36.087689', NULL, NULL, 'application/x-gzip', 6823, 'rails.tar.gz', NULL)
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "type", "data_content_type", "data_file_size", "assetable_type", "updated_at", "width", "height", "created_at", "data_file_name") VALUES (NULL, 'Ckeditor::Picture', 'image/png', 6646, NULL, '2011-08-23 09:35:36.560276', NULL, NULL, '2011-08-23 09:35:36.560276', 'rails.png')[0m
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[0m SELECT 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.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "assetable_id", "type", "data_file_size", "assetable_type", "created_at", "width", "data_content_type", "height", "updated_at") VALUES ('rails.tar.gz', NULL, 'Ckeditor::AttachmentFile', 6823, NULL, '2011-08-23 09:35:46.537548', NULL, 'application/x-gzip', NULL, '2011-08-23 09:35:46.537548')
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "type", "data_file_size", "created_at", "width", "assetable_id", "height", "updated_at", "data_file_name", "data_content_type") VALUES (NULL, 'Ckeditor::Picture', 6646, '2011-08-23 09:35:47.054918', 50, NULL, 64, '2011-08-23 09:35:47.054918', 'rails.png', 'image/png')[0m
- [1m[36mSQL (0.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "type", "assetable_type", "assetable_id", "width", "data_content_type", "created_at", "data_file_name", "height", "data_file_size") VALUES ('2011-08-23 09:38:57.599264', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, 'application/x-gzip', '2011-08-23 09:38:57.599264', 'rails_tar.gz', NULL, 6823)
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xbd52f90 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-4935-jp0jp8-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "type", "assetable_type", "assetable_id", "width", "data_content_type", "created_at", "data_file_name", "height", "data_file_size") VALUES ('2011-08-23 09:38:57.745351', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, 'application/x-gzip', '2011-08-23 09:38:57.745351', 'rails_tar.gz', NULL, 6823)
+ 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 128ms (Views: 2.4ms | ActiveRecord: 1.6ms)
- [1m[36mSQL (0.1ms)[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'
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbca5430 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-4935-15dhov1-0>>}
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "type", "assetable_type", "assetable_id", "width", "data_content_type", "created_at", "data_file_name", "height", "data_file_size") VALUES ('2011-08-23 09:38:57.868438', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, 'application/x-gzip', '2011-08-23 09:38:57.868438', 'rails_tar.gz', NULL, 6823)[0m
+ 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 116ms (Views: 0.6ms | ActiveRecord: 0.9ms)
+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.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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.3ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "type", "assetable_type", "assetable_id", "width", "data_content_type", "created_at", "data_file_name", "height", "data_file_size") VALUES ('2011-08-23 09:38:57.992504', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, 'application/x-gzip', '2011-08-23 09:38:57.992504', 'rails_tar.gz', NULL, 6823)
+ [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 113ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "type", "assetable_type", "assetable_id", "width", "data_content_type", "created_at", "data_file_name", "height", "data_file_size") VALUES ('2011-08-23 09:38:58.093482', 'Ckeditor::AttachmentFile', NULL, NULL, NULL, 'application/x-gzip', '2011-08-23 09:38:58.093482', 'rails_tar.gz', NULL, 6823)
+ [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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 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 8ms
+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
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.4ms)
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.2ms)
+Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.6ms)
+ [1m[36mCkeditor::AttachmentFile Load (0.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
-Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_size", "created_at", "type", "height", "data_file_name", "data_content_type", "width", "updated_at") VALUES (NULL, NULL, 6646, '2011-08-23 09:39:39.734711', 'Ckeditor::Picture', 64, 'rails.png', 'image/png', 50, '2011-08-23 09:39:39.734711')[0m
+ [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/content_rails.png
[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
- [1m[35mSQL (0.3ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[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:0xbc4d1cc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-4935-gpxo6l-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_size", "created_at", "type", "height", "data_file_name", "data_content_type", "width", "updated_at") VALUES (NULL, NULL, 6646, '2011-08-23 09:39:39.999577', 'Ckeditor::Picture', 64, 'rails.png', 'image/png', 50, '2011-08-23 09:39:39.999577')[0m
+ 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/content_rails.png
[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
-Completed 200 OK in 253ms (Views: 0.7ms | ActiveRecord: 1.3ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xbbb1114 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-4935-m2mdxa-0>>}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_size", "created_at", "type", "height", "data_file_name", "data_content_type", "width", "updated_at") VALUES (NULL, NULL, 6646, '2011-08-23 09:39:40.230040', 'Ckeditor::Picture', 64, 'rails.png', 'image/png', 50, '2011-08-23 09:39:40.230040')
+ 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/content_rails.png
[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
-Completed 200 OK in 222ms (Views: 0.4ms | ActiveRecord: 0.9ms)
+[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.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[35mCkeditor::Picture Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>"rails.png"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_size", "created_at", "type", "height", "data_file_name", "data_content_type", "width", "updated_at") VALUES (NULL, NULL, 6646, '2011-08-23 09:39:40.441506', 'Ckeditor::Picture', 64, 'rails.png', 'image/png', 50, '2011-08-23 09:39:40.441506')[0m
+ [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/content_rails.png
[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
-Completed 200 OK in 203ms (Views: 0.4ms | ActiveRecord: 1.0ms)
- [1m[35mSQL (0.1ms)[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
+[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/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[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_type", "assetable_id", "data_file_size", "created_at", "type", "height", "data_file_name", "data_content_type", "width", "updated_at") VALUES (NULL, NULL, 6646, '2011-08-23 09:39:40.614333', 'Ckeditor::Picture', 64, 'rails.png', 'image/png', 50, '2011-08-23 09:39:40.614333')[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[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/content_rails.png
[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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 9ms
+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.5ms)
-Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.6ms)
+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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("content", "updated_at", "title", "created_at", "info") VALUES ('content', '2011-08-23 09:39:40.656527', 'test', '2011-08-23 09:39:40.656527', 'info')
+ [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 Tue Aug 23 12:39:40 +0300 2011
+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 (77.8ms)
-Completed 200 OK in 83ms (Views: 82.9ms | ActiveRecord: 0.4ms)
+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", "updated_at", "title", "created_at", "info") VALUES ('content', '2011-08-23 09:39:40.752397', 'test', '2011-08-23 09:39:40.752397', 'info')
+ [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 Tue Aug 23 12:39:40 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.6ms)
+ [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.2ms)[0m [1mINSERT INTO "posts" ("content", "updated_at", "title", "created_at", "info") VALUES ('content', '2011-08-23 09:39:40.763616', 'test', '2011-08-23 09:39:40.763616', 'info')[0m
+ [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 Tue Aug 23 12:39:40 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:37:37 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms)
+ [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", "updated_at", "title", "created_at", "info") VALUES ('content', '2011-08-23 09:39:40.774039', 'test', '2011-08-23 09:39:40.774039', 'info')
+ [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 Tue Aug 23 12:39:40 +0300 2011
+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 (3.2ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.6ms)
+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.5ms)[0m [1m SELECT name
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [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
+ [1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("width", "type", "data_file_name", "data_content_type", "height", "created_at", "assetable_id", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', 'application/x-gzip', NULL, '2011-08-23 09:40:03.022120', NULL, '2011-08-23 09:40:03.022120', 6823, NULL)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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:0xab65e2c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5038-1ddobze-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.2ms)[0m INSERT INTO "ckeditor_assets" ("width", "type", "data_file_name", "data_content_type", "height", "created_at", "assetable_id", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', 'application/x-gzip', NULL, '2011-08-23 09:40:03.053509', NULL, '2011-08-23 09:40:03.053509', 6823, NULL)
+ 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 7ms (Views: 1.3ms | ActiveRecord: 1.4ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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:0xab31050 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5038-seu21k-0>>}
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "type", "data_file_name", "data_content_type", "height", "created_at", "assetable_id", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', 'application/x-gzip', NULL, '2011-08-23 09:40:03.065208', NULL, '2011-08-23 09:40:03.065208', 6823, NULL)[0m
-Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
- [1m[35mSQL (0.1ms)[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
+ 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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35mAREL (0.2ms)[0m INSERT INTO "ckeditor_assets" ("width", "type", "data_file_name", "data_content_type", "height", "created_at", "assetable_id", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', 'application/x-gzip', NULL, '2011-08-23 09:40:03.124373', NULL, '2011-08-23 09:40:03.124373', 6823, NULL)
-Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 0.6ms)
- [1m[36mSQL (0.1ms)[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[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.3ms)[0m INSERT INTO "ckeditor_assets" ("width", "type", "data_file_name", "data_content_type", "height", "created_at", "assetable_id", "updated_at", "data_file_size", "assetable_type") VALUES (NULL, 'Ckeditor::AttachmentFile', 'rails.tar.gz', 'application/x-gzip', NULL, '2011-08-23 09:40:03.179111', NULL, '2011-08-23 09:40:03.179111', 6823, NULL)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 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 6ms
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (2.6ms)
-Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.3ms)
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "width", "data_file_name", "updated_at", "created_at", "data_file_size", "data_content_type", "type", "assetable_type") VALUES (NULL, 64, 50, 'rails.png', '2011-08-23 09:40:31.774009', '2011-08-23 09:40:31.774009', 6646, 'image/png', 'Ckeditor::Picture', NULL)[0m
+ [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:0xac595b8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5038-12zjqsn-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "width", "data_file_name", "updated_at", "created_at", "data_file_size", "data_content_type", "type", "assetable_type") VALUES (NULL, 64, 50, 'rails.png', '2011-08-23 09:40:32.306840', '2011-08-23 09:40:32.306840', 6646, 'image/png', 'Ckeditor::Picture', NULL)[0m
-Completed 200 OK in 524ms (Views: 1.1ms | ActiveRecord: 1.3ms)
+ 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
- [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."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/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:0xaeb83b8 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5038-1v8hbzg-0>>}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "height", "width", "data_file_name", "updated_at", "created_at", "data_file_size", "data_content_type", "type", "assetable_type") VALUES (NULL, 64, 50, 'rails.png', '2011-08-23 09:40:32.887482', '2011-08-23 09:40:32.887482', 6646, 'image/png', 'Ckeditor::Picture', NULL)
-Completed 200 OK in 567ms (Views: 0.4ms | ActiveRecord: 1.2ms)
+ 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.1ms)[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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "width", "data_file_name", "updated_at", "created_at", "data_file_size", "data_content_type", "type", "assetable_type") VALUES (NULL, 64, 50, 'rails.png', '2011-08-23 09:40:33.467931', '2011-08-23 09:40:33.467931', 6646, 'image/png', 'Ckeditor::Picture', NULL)[0m
-Completed 200 OK in 623ms (Views: 0.4ms | ActiveRecord: 0.9ms)
+ [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.1ms)[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.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "height", "width", "data_file_name", "updated_at", "created_at", "data_file_size", "data_content_type", "type", "assetable_type") VALUES (NULL, 64, 50, 'rails.png', '2011-08-23 09:40:33.972360', '2011-08-23 09:40:33.972360', 6646, 'image/png', 'Ckeditor::Picture', NULL)[0m
+ [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.2ms)[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
+ [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 5ms
- [1m[36mSQL (0.1ms)[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'
+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
+ [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.5ms)
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
+ [1m[35mCkeditor::Picture Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>nil}
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-08-23 09:40:34.005556', 'content', 'info', 'test', '2011-08-23 09:40:34.005556')
+ [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 Tue Aug 23 12:40:34 +0300 2011
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:41:34 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.4ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-08-23 09:40:34.028098', 'content', 'info', 'test', '2011-08-23 09:40:34.028098')
+ [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 Tue Aug 23 12:40:34 +0300 2011
+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 5ms (Views: 3.9ms | ActiveRecord: 0.5ms)
+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.2ms)[0m [1mINSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-08-23 09:40:34.039038', 'content', 'info', 'test', '2011-08-23 09:40:34.039038')[0m
+ [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 Tue Aug 23 12:40:34 +0300 2011
+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 4ms (Views: 3.0ms | ActiveRecord: 0.5ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "content", "info", "title", "created_at") VALUES ('2011-08-23 09:40:34.049231', 'content', 'info', 'test', '2011-08-23 09:40:34.049231')
+ [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 Tue Aug 23 12:40:34 +0300 2011
+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 (3.1ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.5ms)
+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.6ms)[0m [1m SELECT name
+ [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.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_type", "assetable_id", "width", "data_file_size", "data_file_name", "created_at", "type", "data_content_type", "updated_at") VALUES (NULL, NULL, NULL, NULL, 6823, 'rails.tar.gz', '2011-08-23 09:41:57.352066', 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-23 09:41:57.352066')
+ [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:0xb011e1c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5194-1nnmsr6-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_type", "assetable_id", "width", "data_file_size", "data_file_name", "created_at", "type", "data_content_type", "updated_at") VALUES (NULL, NULL, NULL, NULL, 6823, 'rails.tar.gz', '2011-08-23 09:41:57.380513', 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-23 09:41:57.380513')
+ 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 8ms (Views: 1.5ms | ActiveRecord: 1.6ms)
- [1m[36mSQL (0.1ms)[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'
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xafdd158 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5194-3x38yj-0>>}
- [1m[36mAREL (0.2ms)[0m [1mINSERT INTO "ckeditor_assets" ("height", "assetable_type", "assetable_id", "width", "data_file_size", "data_file_name", "created_at", "type", "data_content_type", "updated_at") VALUES (NULL, NULL, NULL, NULL, 6823, 'rails.tar.gz', '2011-08-23 09:41:57.392945', 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-23 09:41:57.392945')[0m
-Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
- [1m[35mSQL (0.1ms)[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
+ 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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_type", "assetable_id", "width", "data_file_size", "data_file_name", "created_at", "type", "data_content_type", "updated_at") VALUES (NULL, NULL, NULL, NULL, 6823, 'rails.tar.gz', '2011-08-23 09:41:57.506021', 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-23 09:41:57.506021')
-Completed 200 OK in 110ms (Views: 0.5ms | ActiveRecord: 0.8ms)
+ [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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [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.2ms)[0m INSERT INTO "ckeditor_assets" ("height", "assetable_type", "assetable_id", "width", "data_file_size", "data_file_name", "created_at", "type", "data_content_type", "updated_at") VALUES (NULL, NULL, NULL, NULL, 6823, 'rails.tar.gz', '2011-08-23 09:41:57.516103', 'Ckeditor::AttachmentFile', 'application/x-gzip', '2011-08-23 09:41:57.516103')
+ [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.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 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 6ms
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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 (2.7ms)
-Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.4ms)
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "data_file_name", "updated_at", "created_at", "data_file_size", "assetable_type", "data_content_type", "assetable_id", "type", "height") VALUES (50, 'rails.png', '2011-08-23 09:42:23.902506', '2011-08-23 09:42:23.902506', 6646, NULL, 'image/png', NULL, 'Ckeditor::Picture', 64)[0m
+ [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:0xb1b7f64 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5194-1i48pf6-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "data_file_name", "updated_at", "created_at", "data_file_size", "assetable_type", "data_content_type", "assetable_id", "type", "height") VALUES (50, 'rails.png', '2011-08-23 09:42:24.382799', '2011-08-23 09:42:24.382799', 6646, NULL, 'image/png', NULL, 'Ckeditor::Picture', 64)[0m
-Completed 200 OK in 475ms (Views: 0.7ms | ActiveRecord: 1.0ms)
+ 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.1ms)[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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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:0xb0ec260 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5194-xd21na-0>>}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("width", "data_file_name", "updated_at", "created_at", "data_file_size", "assetable_type", "data_content_type", "assetable_id", "type", "height") VALUES (50, 'rails.png', '2011-08-23 09:42:24.902381', '2011-08-23 09:42:24.902381', 6646, NULL, 'image/png', NULL, 'Ckeditor::Picture', 64)
-Completed 200 OK in 513ms (Views: 0.4ms | ActiveRecord: 0.8ms)
+ 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'
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) 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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "data_file_name", "updated_at", "created_at", "data_file_size", "assetable_type", "data_content_type", "assetable_id", "type", "height") VALUES (50, 'rails.png', '2011-08-23 09:42:25.456445', '2011-08-23 09:42:25.456445', 6646, NULL, 'image/png', NULL, 'Ckeditor::Picture', 64)[0m
-Completed 200 OK in 548ms (Views: 0.4ms | ActiveRecord: 0.8ms)
+ [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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("width", "data_file_name", "updated_at", "created_at", "data_file_size", "assetable_type", "data_content_type", "assetable_id", "type", "height") VALUES (50, 'rails.png', '2011-08-23 09:42:26.019997', '2011-08-23 09:42:26.019997', 6646, NULL, 'image/png', NULL, 'Ckeditor::Picture', 64)[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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.1ms)[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
+ [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 4ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "info", "content", "created_at", "title") VALUES ('2011-08-23 09:42:26.052153', 'info', 'content', '2011-08-23 09:42:26.052153', 'test')
+ [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 Tue Aug 23 12:42:26 +0300 2011
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (3.9ms)
-Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.4ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "info", "content", "created_at", "title") VALUES ('2011-08-23 09:42:26.074375', 'info', 'content', '2011-08-23 09:42:26.074375', 'test')
+ [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 Tue Aug 23 12:42:26 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m [1mINSERT INTO "posts" ("updated_at", "info", "content", "created_at", "title") VALUES ('2011-08-23 09:42:26.084685', 'info', 'content', '2011-08-23 09:42:26.084685', 'test')[0m
+ [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 Tue Aug 23 12:42:26 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:46:27 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m INSERT INTO "posts" ("updated_at", "info", "content", "created_at", "title") VALUES ('2011-08-23 09:42:26.093532', 'info', 'content', '2011-08-23 09:42:26.093532', 'test')
+ [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 Tue Aug 23 12:42:26 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.1ms)
-Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.4ms)
+ [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
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537621de2f1514e9000001'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+ [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/4e537621de2f1514e9000001/rails_tar.gz
-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})
+[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:0xa1a5cfc @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5353-7d61f3-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537621de2f1514e9000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e537621de2f1514e9000002/rails_tar.gz
+[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 143ms (Views: 2.3ms | 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"]}})
+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/4e537621de2f1514e9000002/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537621de2f1514e9000002')})
-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})
+[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:0xa0b77c8 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5353-zcg7g-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537621de2f1514e9000003'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e537621de2f1514e9000003/rails_tar.gz
-Completed 200 OK in 69ms (Views: 0.7ms | 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] 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/4e537621de2f1514e9000003/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537621de2f1514e9000003')})
-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})
+[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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "updated_at"=>Tue Aug 23 09:42:57 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537621de2f1514e9000004'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ [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/4e537621de2f1514e9000004/rails_tar.gz
-Completed 200 OK in 91ms (Views: 0.4ms | 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] 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/4e537621de2f1514e9000004/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537621de2f1514e9000004')})
-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"=>Tue Aug 23 09:42:58 UTC 2011, "data_updated_at"=>Tue Aug 23 09:42:58 UTC 2011, "updated_at"=>Tue Aug 23 09:42:58 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537622de2f1514e9000005'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+[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/4e537622de2f1514e9000005/rails_tar.gz
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e537622de2f1514e9000005')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e537622de2f1514e9000005'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+ 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/4e537622de2f1514e9000005/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537622de2f1514e9000005')})
+[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 10ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+ [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 (3.5ms)
-Completed 200 OK in 15ms (Views: 13.8ms | 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})
+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 3ms (Views: 0.3ms | 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"=>"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"=>Tue Aug 23 09:43:19 UTC 2011, "data_updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537637de2f1514e9000007'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+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/4e537637de2f1514e9000007/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000007/original_rails.png
-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})
+[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:0xa02f1d4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5353-11uxbku-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537637de2f1514e9000008'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e537637de2f1514e9000008/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000008/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000008/original_rails.png
-Completed 200 OK in 153ms (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] 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/4e537637de2f1514e9000008/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000008/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000008/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537637de2f1514e9000008')})
-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})
+[paperclip] deleting /var/www/gems/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:0x9f3fb20 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5353-1pfne7x-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537637de2f1514e9000009'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e537637de2f1514e9000009/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000009/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000009/original_rails.png
-Completed 200 OK in 161ms (Views: 0.4ms | 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] 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/4e537637de2f1514e9000009/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000009/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e9000009/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537637de2f1514e9000009')})
-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})
+[paperclip] deleting /var/www/gems/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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537637de2f1514e900000a'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ [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/4e537637de2f1514e900000a/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000a/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000a/original_rails.png
-Completed 200 OK in 155ms (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] 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/4e537637de2f1514e900000a/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000a/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000a/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537637de2f1514e900000a')})
-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"=>Tue Aug 23 09:43:19 UTC 2011, "data_updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "updated_at"=>Tue Aug 23 09:43:19 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537637de2f1514e900000b'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+[paperclip] deleting /var/www/gems/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/4e537637de2f1514e900000b/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000b/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000b/original_rails.png
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e537637de2f1514e900000b')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e537637de2f1514e900000b'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
+ 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/4e537637de2f1514e900000b/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000b/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537637de2f1514e900000b/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537637de2f1514e900000b')})
+[paperclip] deleting /var/www/gems/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 8ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 3.8ms | 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})
+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 3ms (Views: 0.4ms | 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('4e537637de2f1514e900000d'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:43:20 +0300 2011
+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 (4.8ms)
-Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537637de2f1514e900000d')})
-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('4e537638de2f1514e900000f'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:43:20 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537638de2f1514e900000f')})
-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('4e537638de2f1514e9000010'), "info"=>"info", "content"=>"content"}])
+ [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 Tue Aug 23 12:43:20 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:50:43 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537638de2f1514e9000010')})
-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('4e537638de2f1514e9000011'), "info"=>"info", "content"=>"content"}])
+ [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/4e537638de2f1514e9000011/edit" for 127.0.0.1 at Tue Aug 23 12:43:20 +0300 2011
+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"=>"4e537638de2f1514e9000011"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e537638de2f1514e9000011')})
-Rendered posts/_form.html.erb (5.9ms)
-Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537638de2f1514e9000011')})
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53766ade2f15152c000001'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+ 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/4e53766ade2f15152c000001/rails_tar.gz
-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})
+[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:0xb0f1fe4 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5420-8tyvdj-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53766ade2f15152c000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e53766ade2f15152c000002/rails_tar.gz
+[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 140ms (Views: 2.9ms | 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"]}})
+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/4e53766ade2f15152c000002/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53766ade2f15152c000002')})
-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})
+[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:0xaf5b48c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5420-1dbrwro-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53766ade2f15152c000003'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e53766ade2f15152c000003/rails_tar.gz
-Completed 200 OK in 122ms (Views: 0.7ms | 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] 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/4e53766ade2f15152c000003/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53766ade2f15152c000003')})
-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})
+[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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53766ade2f15152c000004'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ [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/4e53766ade2f15152c000004/rails_tar.gz
-Completed 200 OK in 81ms (Views: 0.7ms | 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] 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/4e53766ade2f15152c000004/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53766ade2f15152c000004')})
-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"=>Tue Aug 23 09:44:10 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "updated_at"=>Tue Aug 23 09:44:10 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53766ade2f15152c000005'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+[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/4e53766ade2f15152c000005/rails_tar.gz
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e53766ade2f15152c000005')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e53766ade2f15152c000005'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+ 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/4e53766ade2f15152c000005/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53766ade2f15152c000005')})
+[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 7ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+ [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 (3.5ms)
-Completed 200 OK in 10ms (Views: 9.4ms | 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})
+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 3ms (Views: 0.3ms | 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"=>"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"=>Tue Aug 23 09:44:42 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53768ade2f15152c000007'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+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/4e53768ade2f15152c000007/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000007/original_rails.png
-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})
+[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:0xaf951dc @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5420-9lsqk5-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53768ade2f15152c000008'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e53768ade2f15152c000008/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000008/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000008/original_rails.png
-Completed 200 OK in 162ms (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] 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/4e53768ade2f15152c000008/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000008/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000008/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53768ade2f15152c000008')})
-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})
+[paperclip] deleting /var/www/gems/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:0xaec15e4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5420-20im20-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53768ade2f15152c000009'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ 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/4e53768ade2f15152c000009/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000009/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000009/original_rails.png
-Completed 200 OK in 155ms (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] 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/4e53768ade2f15152c000009/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000009/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c000009/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53768ade2f15152c000009')})
-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})
+[paperclip] deleting /var/www/gems/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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53768ade2f15152c00000a'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646}])
+ [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/4e53768ade2f15152c00000a/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c00000a/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c00000a/original_rails.png
-Completed 200 OK in 141ms (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] 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/4e53768ade2f15152c00000a/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c00000a/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768ade2f15152c00000a/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53768ade2f15152c00000a')})
-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"=>Tue Aug 23 09:44:43 UTC 2011, "data_updated_at"=>Tue Aug 23 09:44:42 UTC 2011, "updated_at"=>Tue Aug 23 09:44:43 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53768bde2f15152c00000b'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646}])
+[paperclip] deleting /var/www/gems/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/4e53768bde2f15152c00000b/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768bde2f15152c00000b/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768bde2f15152c00000b/original_rails.png
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e53768bde2f15152c00000b')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e53768bde2f15152c00000b'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
+ 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/4e53768bde2f15152c00000b/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768bde2f15152c00000b/thumb_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e53768bde2f15152c00000b/content_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53768bde2f15152c00000b')})
+[paperclip] deleting /var/www/gems/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 7ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+ [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.9ms)
-Completed 200 OK in 8ms (Views: 6.6ms | 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})
+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 6ms (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"]}})
-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('4e53768bde2f15152c00000d'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:44:43 +0300 2011
+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 (4.1ms)
-Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53768bde2f15152c00000d')})
-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('4e53768bde2f15152c00000f'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:44:43 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:58:37 +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('4e53768bde2f15152c00000f')})
-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('4e53768bde2f15152c000010'), "info"=>"info", "content"=>"content"}])
+ [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 Tue Aug 23 12:44:43 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:58:37 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53768bde2f15152c000010')})
-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('4e53768bde2f15152c000011'), "info"=>"info", "content"=>"content"}])
+ [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/4e53768bde2f15152c000011/edit" for 127.0.0.1 at Tue Aug 23 12:44:43 +0300 2011
+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"=>"4e53768bde2f15152c000011"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e53768bde2f15152c000011')})
-Rendered posts/_form.html.erb (3.6ms)
-Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53768bde2f15152c000011')})
-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"=>"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})
+ 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:0xae9de64 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5487-1z0xzjt-0>>, "CKEditor"=>"ckeditor_field"}
-Completed 500 Internal Server Error in 3ms
-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})
+ 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:0xae4b970 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5487-ryxvc3-0>>}
-Completed 500 Internal Server Error in 1ms
-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})
+ 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"}
-Completed 500 Internal Server Error in 131ms
-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})
-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({})
+ [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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+ [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 (2.4ms)
-Completed 200 OK in 15ms (Views: 14.3ms | 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})
+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 4ms (Views: 1.2ms | 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"=>"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})
+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:0xb03c9f0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5487-mtdmth-0>>, "CKEditor"=>"ckeditor_field"}
-Completed 500 Internal Server Error in 1ms
-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})
+ 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:0xafc8514 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5487-1b7s4ib-0>>}
-Completed 500 Internal Server Error in 1ms
-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})
+ 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"}
-Completed 500 Internal Server Error in 47ms
-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})
-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({})
+ [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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 5ms (Views: 4.8ms | 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})
+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 3ms (Views: 0.3ms | 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('4e5376d0de2f15156f000009'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:45:52 +0300 2011
+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 (4.0ms)
-Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e5376d0de2f15156f000009')})
-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('4e5376d0de2f15156f00000b'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:45:52 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e5376d0de2f15156f00000b')})
-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('4e5376d0de2f15156f00000c'), "info"=>"info", "content"=>"content"}])
+ [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 Tue Aug 23 12:45:52 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 20:59:51 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e5376d0de2f15156f00000c')})
-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('4e5376d0de2f15156f00000d'), "info"=>"info", "content"=>"content"}])
+ [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/4e5376d0de2f15156f00000d/edit" for 127.0.0.1 at Tue Aug 23 12:45:52 +0300 2011
+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"=>"4e5376d0de2f15156f00000d"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e5376d0de2f15156f00000d')})
-Rendered posts/_form.html.erb (3.7ms)
-Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e5376d0de2f15156f00000d')})
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:26 UTC 2011, "updated_at"=>Tue Aug 23 09:51:26 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53781ede2f1515b7000001'), "data_file_name"=>"rails.tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
-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})
+ 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:0xb387a9c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5559-xu1xyc-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:26 UTC 2011, "updated_at"=>Tue Aug 23 09:51:26 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53781ede2f1515b7000002'), "data_file_name"=>"rails.tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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 6ms (Views: 1.4ms | 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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53781ede2f1515b7000002')})
-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})
+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:0xb352f40 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5559-jo7nry-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:26 UTC 2011, "updated_at"=>Tue Aug 23 09:51:26 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53781ede2f1515b7000003'), "data_file_name"=>"rails.tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
-Completed 200 OK in 5ms (Views: 0.4ms | 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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53781ede2f1515b7000003')})
-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})
+ 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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:26 UTC 2011, "updated_at"=>Tue Aug 23 09:51:26 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53781ede2f1515b7000004'), "data_file_name"=>"rails.tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
-Completed 200 OK in 117ms (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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53781ede2f1515b7000004')})
-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"=>Tue Aug 23 09:51:26 UTC 2011, "updated_at"=>Tue Aug 23 09:51:26 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e53781ede2f1515b7000005'), "data_file_name"=>"rails.tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+ [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"=>BSON::ObjectId('4e53781ede2f1515b7000005')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e53781ede2f1515b7000005'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53781ede2f1515b7000005')})
+ 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 6ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+ [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 (2.7ms)
-Completed 200 OK in 13ms (Views: 12.2ms | 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})
+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 3ms (Views: 0.3ms | 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"=>"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"=>Tue Aug 23 09:51:54 UTC 2011, "updated_at"=>Tue Aug 23 09:51:54 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53783ade2f1515b7000007'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64, "width"=>50}])
-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})
+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:0xb7d5c34 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5559-1meqow9-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:55 UTC 2011, "updated_at"=>Tue Aug 23 09:51:55 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53783ade2f1515b7000008'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64, "width"=>50}])
-Completed 200 OK in 487ms (Views: 0.8ms | 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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53783ade2f1515b7000008')})
-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})
+ 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:0xb6ac8d0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5559-1ivsc7b-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:55 UTC 2011, "updated_at"=>Tue Aug 23 09:51:55 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53783bde2f1515b7000009'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64, "width"=>50}])
-Completed 200 OK in 577ms (Views: 0.4ms | 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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53783bde2f1515b7000009')})
-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})
+ 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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:51:56 UTC 2011, "updated_at"=>Tue Aug 23 09:51:56 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53783bde2f1515b700000a'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64, "width"=>50}])
-Completed 200 OK in 496ms (Views: 0.4ms | 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['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53783bde2f1515b700000a')})
-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"=>Tue Aug 23 09:51:56 UTC 2011, "updated_at"=>Tue Aug 23 09:51:56 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e53783cde2f1515b700000b'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64, "width"=>50}])
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+ [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"=>BSON::ObjectId('4e53783cde2f1515b700000b')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e53783cde2f1515b700000b'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e53783cde2f1515b700000b')})
+ 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 5ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+ [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.4ms)
-Completed 200 OK in 4ms (Views: 3.8ms | 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})
+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 3ms (Views: 0.3ms | 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('4e53783cde2f1515b700000d'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:51:56 +0300 2011
+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 (4.2ms)
-Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53783cde2f1515b700000d')})
-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('4e53783dde2f1515b700000f'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:51:57 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53783dde2f1515b700000f')})
-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('4e53783dde2f1515b7000010'), "info"=>"info", "content"=>"content"}])
+ [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 Tue Aug 23 12:51:57 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:04:02 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53783dde2f1515b7000010')})
-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('4e53783dde2f1515b7000011'), "info"=>"info", "content"=>"content"}])
+ [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/4e53783dde2f1515b7000011/edit" for 127.0.0.1 at Tue Aug 23 12:51:57 +0300 2011
+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"=>"4e53783dde2f1515b7000011"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e53783dde2f1515b7000011')})
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e53783dde2f1515b7000011')})
-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['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:08 UTC 2011, "updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537849de2f151651000001'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+ 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/4e537849de2f151651000001/rails_tar.gz
-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})
+[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:0xbaaff68 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5713-1r498mf-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537849de2f151651000002'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e537849de2f151651000002/rails_tar.gz
+[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 103ms (Views: 1.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"]}})
+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/4e537849de2f151651000002/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537849de2f151651000002')})
-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})
+[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:0xb91e190 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5713-106gev-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537849de2f151651000003'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ 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/4e537849de2f151651000003/rails_tar.gz
-Completed 200 OK in 100ms (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] 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/4e537849de2f151651000003/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537849de2f151651000003')})
-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})
+[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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537849de2f151651000004'), "data_file_name"=>"rails_tar.gz", "_type"=>"Ckeditor::AttachmentFile", "data_file_size"=>6823}])
+ [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/4e537849de2f151651000004/rails_tar.gz
-Completed 200 OK in 88ms (Views: 0.4ms | 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] 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/4e537849de2f151651000004/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537849de2f151651000004')})
-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"=>Tue Aug 23 09:52:09 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "updated_at"=>Tue Aug 23 09:52:09 UTC 2011, "data_content_type"=>"application/x-gzip", "_id"=>BSON::ObjectId('4e537849de2f151651000005'), "_type"=>"Ckeditor::AttachmentFile", "data_file_name"=>"rails_tar.gz", "data_file_size"=>6823}])
+[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/4e537849de2f151651000005/rails_tar.gz
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e537849de2f151651000005')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e537849de2f151651000005'), :_type=>{"$in"=>["Ckeditor::AttachmentFile"]}})
+ 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/4e537849de2f151651000005/rails_tar.gz
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537849de2f151651000005')})
+[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 8ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::AttachmentFile"]}}).sort(iddesc)
+ [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 (6.6ms)
-Completed 200 OK in 14ms (Views: 13.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})
+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 4ms (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"]}})
-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"=>"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"=>Tue Aug 23 09:52:40 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:40 UTC 2011, "updated_at"=>Tue Aug 23 09:52:40 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537868de2f151651000007'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646, "height"=>64.0, "width"=>50.0}])
+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/4e537868de2f151651000007/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000007/original_rails.png
-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})
+[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:0xb898d24 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5713-fbw72r-0>>, "CKEditor"=>"ckeditor_field"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:40 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:40 UTC 2011, "updated_at"=>Tue Aug 23 09:52:40 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537868de2f151651000008'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64.0, "width"=>50.0}])
+ 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/4e537868de2f151651000008/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000008/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000008/original_rails.png
-Completed 200 OK in 193ms (Views: 1.2ms | 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] 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/4e537868de2f151651000008/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000008/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000008/thumb_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537868de2f151651000008')})
-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})
+[paperclip] deleting /var/www/gems/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:0xb7c5488 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5713-as0fk8-0>>}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:41 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:40 UTC 2011, "updated_at"=>Tue Aug 23 09:52:41 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537868de2f151651000009'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64.0, "width"=>50.0}])
+ 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/4e537868de2f151651000009/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000009/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000009/original_rails.png
-Completed 200 OK in 173ms (Views: 0.5ms | 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] 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/4e537868de2f151651000009/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000009/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537868de2f151651000009/thumb_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537868de2f151651000009')})
-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})
+[paperclip] deleting /var/www/gems/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"}
-MONGODB ckeditor-test-suite['ckeditor_assets'].insert([{"created_at"=>Tue Aug 23 09:52:41 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:41 UTC 2011, "updated_at"=>Tue Aug 23 09:52:41 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537869de2f15165100000a'), "data_file_name"=>"rails.png", "_type"=>"Ckeditor::Picture", "data_file_size"=>6646, "height"=>64.0, "width"=>50.0}])
+ [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/4e537869de2f15165100000a/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000a/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000a/original_rails.png
-Completed 200 OK in 200ms (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] 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/4e537869de2f15165100000a/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000a/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000a/thumb_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537869de2f15165100000a')})
-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"=>Tue Aug 23 09:52:41 UTC 2011, "data_updated_at"=>Tue Aug 23 09:52:41 UTC 2011, "updated_at"=>Tue Aug 23 09:52:41 UTC 2011, "data_content_type"=>"image/png", "_id"=>BSON::ObjectId('4e537869de2f15165100000b'), "_type"=>"Ckeditor::Picture", "data_file_name"=>"rails.png", "data_file_size"=>6646, "height"=>64.0, "width"=>50.0}])
+[paperclip] deleting /var/www/gems/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/4e537869de2f15165100000b/content_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000b/thumb_rails.png
-[paperclip] saving /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000b/original_rails.png
-MONGODB ckeditor-test-suite['$cmd'].find({"count"=>"ckeditor_assets", "query"=>{:_type=>{"$in"=>["Ckeditor::Picture"]}}, "fields"=>nil})
+[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"=>BSON::ObjectId('4e537869de2f15165100000b')}
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_id=>BSON::ObjectId('4e537869de2f15165100000b'), :_type=>{"$in"=>["Ckeditor::Picture"]}})
+ 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/4e537869de2f15165100000b/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000b/content_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/4e537869de2f15165100000b/thumb_rails.png
-MONGODB ckeditor-test-suite['ckeditor_assets'].remove({:_id=>BSON::ObjectId('4e537869de2f15165100000b')})
+[paperclip] deleting /var/www/gems/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 7ms
-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({})
+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
-MONGODB ckeditor-test-suite['ckeditor_assets'].find({:_type=>{"$in"=>["Ckeditor::Picture"]}}).sort(iddesc)
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 3.7ms | 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})
+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 6ms (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('4e537869de2f15165100000d'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:52:41 +0300 2011
+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 (4.4ms)
-Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537869de2f15165100000d')})
-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('4e537869de2f15165100000f'), "info"=>"info", "content"=>"content"}])
+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 Tue Aug 23 12:52:41 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537869de2f15165100000f')})
-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('4e537869de2f151651000010'), "info"=>"info", "content"=>"content"}])
+ [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 Tue Aug 23 12:52:41 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 21:06:27 +0300 2011
Processing by PostsController#index as HTML
-MONGODB ckeditor-test-suite['posts'].find({})
-Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537869de2f151651000010')})
-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('4e537869de2f151651000011'), "info"=>"info", "content"=>"content"}])
+ [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/4e537869de2f151651000011/edit" for 127.0.0.1 at Tue Aug 23 12:52:41 +0300 2011
+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"=>"4e537869de2f151651000011"}
-MONGODB ckeditor-test-suite['posts'].find({:_id=>BSON::ObjectId('4e537869de2f151651000011')})
-Rendered posts/_form.html.erb (3.6ms)
-Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
-MONGODB ckeditor-test-suite['posts'].remove({:_id=>BSON::ObjectId('4e537869de2f151651000011')})
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ 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.1ms)[0m SELECT name
+ [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.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "width", "assetable_id", "assetable_type", "created_at", "data_content_type", "type", "height", "data_file_name") VALUES (6823, '2011-08-23 09:52:54.840112', NULL, NULL, NULL, '2011-08-23 09:52:54.840112', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL, 'rails_tar.gz')
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.3ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xa5e662c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5791-13m8gg8-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.3ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "width", "assetable_id", "assetable_type", "created_at", "data_content_type", "type", "height", "data_file_name") VALUES (6823, '2011-08-23 09:52:54.958790', NULL, NULL, NULL, '2011-08-23 09:52:54.958790', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL, 'rails_tar.gz')
+ 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 96ms (Views: 1.7ms | ActiveRecord: 1.5ms)
- [1m[36mSQL (0.1ms)[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'
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xa53889c @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5791-dxnx9r-0>>}
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "width", "assetable_id", "assetable_type", "created_at", "data_content_type", "type", "height", "data_file_name") VALUES (6823, '2011-08-23 09:52:55.072975', NULL, NULL, NULL, '2011-08-23 09:52:55.072975', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL, 'rails_tar.gz')[0m
+ 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 108ms (Views: 0.6ms | ActiveRecord: 1.0ms)
+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.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "width", "assetable_id", "assetable_type", "created_at", "data_content_type", "type", "height", "data_file_name") VALUES (6823, '2011-08-23 09:52:55.273136', NULL, NULL, NULL, '2011-08-23 09:52:55.273136', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL, '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 191ms (Views: 0.7ms | ActiveRecord: 1.2ms)
- [1m[36mSQL (0.1ms)[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'
+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.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "updated_at", "width", "assetable_id", "assetable_type", "created_at", "data_content_type", "type", "height", "data_file_name") VALUES (6823, '2011-08-23 09:52:55.373651', NULL, NULL, NULL, '2011-08-23 09:52:55.373651', 'application/x-gzip', 'Ckeditor::AttachmentFile', NULL, '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.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.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
Redirected to http://test.host/ckeditor/attachment_files
Completed 302 Found in 12ms
[1m[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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.4ms)
- [1m[36mCkeditor::AttachmentFile Load (0.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "type", "assetable_id", "height", "data_file_size", "updated_at", "width", "assetable_type") VALUES ('2011-08-23 09:53:28.692568', 'rails.png', 'image/png', 'Ckeditor::Picture', NULL, 64, 6646, '2011-08-23 09:53:28.692568', 50, NULL)[0m
+ [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/content_rails.png
[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:0xa4d1de0 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5791-kbma0m-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "type", "assetable_id", "height", "data_file_size", "updated_at", "width", "assetable_type") VALUES ('2011-08-23 09:53:28.927238', 'rails.png', 'image/png', 'Ckeditor::Picture', NULL, 64, 6646, '2011-08-23 09:53:28.927238', 50, NULL)[0m
+ 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/content_rails.png
[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
-Completed 200 OK in 224ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[36mSQL (0.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:0xa43e068 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5791-ybaotq-0>>}
- [1m[35mAREL (0.6ms)[0m INSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "type", "assetable_id", "height", "data_file_size", "updated_at", "width", "assetable_type") VALUES ('2011-08-23 09:53:29.158460', 'rails.png', 'image/png', 'Ckeditor::Picture', NULL, 64, 6646, '2011-08-23 09:53:29.158460', 50, NULL)
+ 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/content_rails.png
[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
-Completed 200 OK in 227ms (Views: 0.7ms | ActiveRecord: 1.1ms)
+[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.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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
+[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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>"rails.png"}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("created_at", "data_file_name", "data_content_type", "type", "assetable_id", "height", "data_file_size", "updated_at", "width", "assetable_type") VALUES ('2011-08-23 09:53:29.373701', 'rails.png', 'image/png', 'Ckeditor::Picture', NULL, 64, 6646, '2011-08-23 09:53:29.373701', 50, NULL)[0m
+ [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/content_rails.png
[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
-Completed 200 OK in 197ms (Views: 0.6ms | ActiveRecord: 1.1ms)
- [1m[35mSQL (0.1ms)[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
+[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/content_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" ("created_at", "data_file_name", "data_content_type", "type", "assetable_id", "height", "data_file_size", "updated_at", "width", "assetable_type") VALUES ('2011-08-23 09:53:29.578089', 'rails.png', 'image/png', 'Ckeditor::Picture', NULL, 64, 6646, '2011-08-23 09:53:29.578089', 50, NULL)[0m
+ [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/content_rails.png
[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/content_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 7ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "info", "content", "created_at") VALUES ('2011-08-23 09:53:29.613166', 'test', 'info', 'content', '2011-08-23 09:53:29.613166')
+ [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 Tue Aug 23 12:53:29 +0300 2011
+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 (3.9ms)
-Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.4ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "info", "content", "created_at") VALUES ('2011-08-23 09:53:29.706141', 'test', 'info', 'content', '2011-08-23 09:53:29.706141')
+ [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 Tue Aug 23 12:53:29 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m [1mINSERT INTO "posts" ("updated_at", "title", "info", "content", "created_at") VALUES ('2011-08-23 09:53:29.716571', 'test', 'info', 'content', '2011-08-23 09:53:29.716571')[0m
+ [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 Tue Aug 23 12:53:29 +0300 2011
+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 4ms (Views: 2.9ms | ActiveRecord: 0.5ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "info", "content", "created_at") VALUES ('2011-08-23 09:53:29.726868', 'test', 'info', 'content', '2011-08-23 09:53:29.726868')
+ [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 Tue Aug 23 12:53:29 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.3ms)
-Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.4ms)
+ [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.4ms)[0m [1m SELECT name
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [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
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "type", "assetable_type", "data_content_type", "updated_at", "width", "data_file_size", "assetable_id", "height", "created_at") VALUES ('rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-08-23 09:54:25.151873', NULL, 6823, NULL, NULL, '2011-08-23 09:54:25.151873')
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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:0xaf3b448 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5881-clx7yh-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.2ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "type", "assetable_type", "data_content_type", "updated_at", "width", "data_file_size", "assetable_id", "height", "created_at") VALUES ('rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-08-23 09:54:25.176211', NULL, 6823, NULL, NULL, '2011-08-23 09:54:25.176211')
+ 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 7ms (Views: 1.4ms | ActiveRecord: 1.5ms)
- [1m[36mSQL (0.1ms)[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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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:0xaf06798 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110823-5881-1qkd7qh-0>>}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_name", "type", "assetable_type", "data_content_type", "updated_at", "width", "data_file_size", "assetable_id", "height", "created_at") VALUES ('rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-08-23 09:54:25.189867', NULL, 6823, NULL, NULL, '2011-08-23 09:54:25.189867')[0m
-Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ 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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "type", "assetable_type", "data_content_type", "updated_at", "width", "data_file_size", "assetable_id", "height", "created_at") VALUES ('rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-08-23 09:54:25.267132', NULL, 6823, NULL, NULL, '2011-08-23 09:54:25.267132')
-Completed 200 OK in 75ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [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.2ms)[0m INSERT INTO "ckeditor_assets" ("data_file_name", "type", "assetable_type", "data_content_type", "updated_at", "width", "data_file_size", "assetable_id", "height", "created_at") VALUES ('rails.tar.gz', 'Ckeditor::AttachmentFile', NULL, 'application/x-gzip', '2011-08-23 09:54:25.280394', NULL, 6823, NULL, NULL, '2011-08-23 09:54:25.280394')
+ [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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 1
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1[0m
+ [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 6ms
- [1m[35mSQL (0.1ms)[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
+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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (2.8ms)
-Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.3ms)
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>nil}
-Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
+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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_content_type", "assetable_type", "assetable_id", "type", "created_at", "data_file_size", "data_file_name", "width", "height") VALUES ('2011-08-23 09:54:54.908808', 'image/png', NULL, NULL, 'Ckeditor::Picture', '2011-08-23 09:54:54.908808', 6646, 'rails.png', 50, 64)[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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:0xb00b1d4 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5881-18zp3al-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_content_type", "assetable_type", "assetable_id", "type", "created_at", "data_file_size", "data_file_name", "width", "height") VALUES ('2011-08-23 09:54:55.350673', 'image/png', NULL, NULL, 'Ckeditor::Picture', '2011-08-23 09:54:55.350673', 6646, 'rails.png', 50, 64)[0m
-Completed 200 OK in 519ms (Views: 0.6ms | ActiveRecord: 1.0ms)
+ 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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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:0xb2a2758 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110823-5881-835f3e-0>>}
- [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "data_content_type", "assetable_type", "assetable_id", "type", "created_at", "data_file_size", "data_file_name", "width", "height") VALUES ('2011-08-23 09:54:55.928198', 'image/png', NULL, NULL, 'Ckeditor::Picture', '2011-08-23 09:54:55.928198', 6646, 'rails.png', 50, 64)
-Completed 200 OK in 491ms (Views: 0.7ms | ActiveRecord: 1.0ms)
- [1m[36mSQL (0.3ms)[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.1ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ 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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "data_content_type", "assetable_type", "assetable_id", "type", "created_at", "data_file_size", "data_file_name", "width", "height") VALUES ('2011-08-23 09:54:56.477060', 'image/png', NULL, NULL, 'Ckeditor::Picture', '2011-08-23 09:54:56.477060', 6646, 'rails.png', 50, 64)[0m
-Completed 200 OK in 538ms (Views: 0.4ms | ActiveRecord: 0.9ms)
- [1m[35mSQL (0.1ms)[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.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" ("updated_at", "data_content_type", "assetable_type", "assetable_id", "type", "created_at", "data_file_size", "data_file_name", "width", "height") VALUES ('2011-08-23 09:54:57.006937', 'image/png', NULL, NULL, 'Ckeditor::Picture', '2011-08-23 09:54:57.006937', 6646, 'rails.png', 50, 64)[0m
+ [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.1ms)[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
+ [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 5ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.4ms)
-Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
- [1m[35mCkeditor::Picture Load (0.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
+Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.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 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "content", "created_at", "info") VALUES ('2011-08-23 09:54:57.039566', 'test', 'content', '2011-08-23 09:54:57.039566', 'info')
+ [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 Tue Aug 23 12:54:57 +0300 2011
+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 (4.3ms)
-Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.4ms)
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "content", "created_at", "info") VALUES ('2011-08-23 09:54:57.063315', 'test', 'content', '2011-08-23 09:54:57.063315', 'info')
+ [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 Tue Aug 23 12:54:57 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m [1mINSERT INTO "posts" ("updated_at", "title", "content", "created_at", "info") VALUES ('2011-08-23 09:54:57.073611', 'test', 'content', '2011-08-23 09:54:57.073611', 'info')[0m
+ [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 Tue Aug 23 12:54:57 +0300 2011
+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.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("updated_at", "title", "content", "created_at", "info") VALUES ('2011-08-23 09:54:57.082474', 'test', 'content', '2011-08-23 09:54:57.082474', 'info')
+ [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 Tue Aug 23 12:54:57 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (3.4ms)
-Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.4ms)
- [1m[35mAREL (0.1ms)[0m DELETE FROM "posts" WHERE "posts"."id" = 1
- [1m[36mSQL (0.9ms)[0m [1m SELECT name
+ [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.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
+ [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreatePosts (20110623120047)
Migrating to CreateCkeditorAssets (20110705195648)
- [1m[35mAREL (11.6ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "created_at", "type", "data_file_name", "assetable_id", "data_file_size", "width", "assetable_type", "height") VALUES ('application/x-gzip', '2011-09-13 14:55:49.568747', '2011-09-13 14:55:49.568747', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, NULL, NULL, NULL)
+ [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:0xbd52388 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110913-9303-9iamyu-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "created_at", "type", "data_file_name", "assetable_id", "data_file_size", "width", "assetable_type", "height") VALUES ('application/x-gzip', '2011-09-13 14:55:49.857475', '2011-09-13 14:55:49.857475', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, NULL, NULL, NULL)
+ 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 148ms (Views: 17.5ms | ActiveRecord: 13.5ms)
+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.3ms)[0m SELECT COUNT(*) 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"=>#<Rack::Test::UploadedFile:0xbca11f0 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110913-9303-8hgm4g-0>>}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "created_at", "type", "data_file_name", "assetable_id", "data_file_size", "width", "assetable_type", "height") VALUES ('application/x-gzip', '2011-09-13 14:55:50.002450', '2011-09-13 14:55:50.002450', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, NULL, NULL, NULL)[0m
+ 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 97ms (Views: 0.4ms | ActiveRecord: 1.1ms)
- [1m[35mSQL (0.1ms)[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
+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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("data_content_type", "updated_at", "created_at", "type", "data_file_name", "assetable_id", "data_file_size", "width", "assetable_type", "height") VALUES ('application/x-gzip', '2011-09-13 14:55:50.103224', '2011-09-13 14:55:50.103224', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, NULL, NULL, NULL)
+ [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 98ms (Views: 0.6ms | ActiveRecord: 0.8ms)
+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" ("data_content_type", "updated_at", "created_at", "type", "data_file_name", "assetable_id", "data_file_size", "width", "assetable_type", "height") VALUES ('application/x-gzip', '2011-09-13 14:55:50.203845', '2011-09-13 14:55:50.203845', 'Ckeditor::AttachmentFile', 'rails_tar.gz', NULL, 6823, NULL, NULL, NULL)
+ [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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 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
+ [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 8ms
+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.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.2ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (1.5ms)
-Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.5ms)
+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 6ms (Views: 0.6ms | ActiveRecord: 0.4ms)
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+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", "type", "data_file_name", "created_at", "updated_at", "assetable_id", "height", "data_content_type", "assetable_type", "width") VALUES (6646, 'Ckeditor::Picture', 'rails.png', '2011-09-13 14:56:09.448361', '2011-09-13 14:56:09.448361', NULL, 64, 'image/png', NULL, 50)[0m
+ [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/content_rails.png
[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:0xbcedb7c @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110913-9303-iunc2j-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "type", "data_file_name", "created_at", "updated_at", "assetable_id", "height", "data_content_type", "assetable_type", "width") VALUES (6646, 'Ckeditor::Picture', 'rails.png', '2011-09-13 14:56:09.623094', '2011-09-13 14:56:09.623094', NULL, 64, 'image/png', NULL, 50)[0m
+ 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/content_rails.png
[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
-Completed 200 OK in 162ms (Views: 0.6ms | ActiveRecord: 1.3ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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
+[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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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:0xbc2cd28 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110913-9303-1vb0vkz-0>>}
- [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("data_file_size", "type", "data_file_name", "created_at", "updated_at", "assetable_id", "height", "data_content_type", "assetable_type", "width") VALUES (6646, 'Ckeditor::Picture', 'rails.png', '2011-09-13 14:56:09.815770', '2011-09-13 14:56:09.815770', NULL, 64, 'image/png', NULL, 50)
+ 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/content_rails.png
[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
-Completed 200 OK in 181ms (Views: 0.4ms | ActiveRecord: 1.1ms)
+[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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>"rails.png"}
- [1m[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "type", "data_file_name", "created_at", "updated_at", "assetable_id", "height", "data_content_type", "assetable_type", "width") VALUES (6646, 'Ckeditor::Picture', 'rails.png', '2011-09-13 14:56:09.993230', '2011-09-13 14:56:09.993230', NULL, 64, 'image/png', NULL, 50)[0m
+ [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/content_rails.png
[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
-Completed 200 OK in 170ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+[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/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[36mAREL (0.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("data_file_size", "type", "data_file_name", "created_at", "updated_at", "assetable_id", "height", "data_content_type", "assetable_type", "width") VALUES (6646, 'Ckeditor::Picture', 'rails.png', '2011-09-13 14:56:10.216771', '2011-09-13 14:56:10.216771', NULL, 64, 'image/png', NULL, 50)[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[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/content_rails.png
[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
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[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
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1 LIMIT 1[0m
[paperclip] Deleting attachments.
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/original_rails.png
-[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/thumb_rails.png
- [1m[35mAREL (0.1ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
Redirected to http://test.host/ckeditor/pictures
-Completed 302 Found in 6ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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.2ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
+ [1m[36mCkeditor::Picture Load (0.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' ORDER BY id desc[0m
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.8ms)
-Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.4ms)
+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 6ms (Views: 0.9ms | ActiveRecord: 0.4ms)
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+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.2ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-09-13 14:56:10.279055', '2011-09-13 14:56:10.279055', 'test', 'content', 'info')
+ [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 Tue Sep 13 17:56:10 +0300 2011
+Started GET "/posts/new" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#new as HTML
-Rendered posts/_form.html.erb (5.0ms)
-Completed 200 OK in 58ms (Views: 57.9ms | ActiveRecord: 0.4ms)
- [1m[36mAREL (0.1ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
- [1m[35mAREL (0.1ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-09-13 14:56:10.452302', '2011-09-13 14:56:10.452302', 'test', 'content', 'info')
+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 Tue Sep 13 17:56:10 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
-Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.4ms)
+ [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.1ms)[0m [1mINSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-09-13 14:56:10.477904', '2011-09-13 14:56:10.477904', 'test', 'content', 'info')[0m
+ [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 Tue Sep 13 17:56:10 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:25:50 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m INSERT INTO "posts" ("updated_at", "created_at", "title", "content", "info") VALUES ('2011-09-13 14:56:10.486845', '2011-09-13 14:56:10.486845', 'test', 'content', 'info')
+ [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 Tue Sep 13 17:56:10 +0300 2011
+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.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = 1 LIMIT 1[0m
-Rendered posts/_form.html.erb (4.1ms)
-Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.4ms)
+ [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.4ms)[0m [1m SELECT name
+ [1m[36mSQL (0.7ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[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.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "created_at", "type", "assetable_type", "data_file_size", "width", "data_content_type", "updated_at", "height") VALUES (NULL, 'rails_tar.gz', '2011-09-13 15:31:35.405939', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-09-13 15:31:35.405939', NULL)
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"upload"=>#<Rack::Test::UploadedFile:0xac4c098 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110913-9640-hri879-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[35mAREL (0.4ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "created_at", "type", "assetable_type", "data_file_size", "width", "data_content_type", "updated_at", "height") VALUES (NULL, 'rails_tar.gz', '2011-09-13 15:31:35.519116', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-09-13 15:31:35.519116', NULL)
+ 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 95ms (Views: 1.5ms | ActiveRecord: 1.5ms)
- [1m[36mSQL (0.1ms)[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'
+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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
Processing by Ckeditor::AttachmentFilesController#create as HTML
- Parameters: {"qqfile"=>#<Rack::Test::UploadedFile:0xab98d18 @content_type="application/x-gzip", @original_filename="rails.tar.gz", @tempfile=#<File:/tmp/rails.tar.gz20110913-9640-vs4rzx-0>>}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "created_at", "type", "assetable_type", "data_file_size", "width", "data_content_type", "updated_at", "height") VALUES (NULL, 'rails_tar.gz', '2011-09-13 15:31:35.619955', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-09-13 15:31:35.619955', NULL)[0m
+ 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 94ms (Views: 0.6ms | ActiveRecord: 0.8ms)
+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.3ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [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.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
+ [1m[36mSQL (0.2ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'[0m
Processing by Ckeditor::AttachmentFilesController#create as HTML
Parameters: {"qqfile"=>"rails.tar.gz"}
- [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("assetable_id", "data_file_name", "created_at", "type", "assetable_type", "data_file_size", "width", "data_content_type", "updated_at", "height") VALUES (NULL, 'rails_tar.gz', '2011-09-13 15:31:35.720811', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-09-13 15:31:35.720811', NULL)
+ [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 93ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+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" ("assetable_id", "data_file_name", "created_at", "type", "assetable_type", "data_file_size", "width", "data_content_type", "updated_at", "height") VALUES (NULL, 'rails_tar.gz', '2011-09-13 15:31:35.799568', 'Ckeditor::AttachmentFile', NULL, 6823, NULL, 'application/x-gzip', '2011-09-13 15:31:35.799568', NULL)
+ [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.4ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' AND "ckeditor_assets"."id" = 1 LIMIT 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 9ms
- [1m[35mSQL (0.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile'
+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.1ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
+ [1m[35mCkeditor::AttachmentFile Load (0.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::AttachmentFile' ORDER BY id desc
Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset.html.erb (0.0ms)
-Rendered /var/www/gems/ckeditor/app/views/ckeditor/shared/_asset_tmpl.html.erb (0.7ms)
-Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.3ms)
+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 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)
- [1m[36mSQL (0.1ms)[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.3ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "height", "data_file_name", "data_file_size", "type", "width", "assetable_type", "created_at", "data_content_type", "assetable_id") VALUES ('2011-09-13 15:31:55.665454', 64, 'rails.png', 6646, 'Ckeditor::Picture', 50, NULL, '2011-09-13 15:31:55.665454', 'image/png', NULL)[0m
+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/content_rails.png
[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:0xaa84f30 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110913-9640-1tahtji-0>>, "CKEditor"=>"ckeditor_field"}
- [1m[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "height", "data_file_name", "data_file_size", "type", "width", "assetable_type", "created_at", "data_content_type", "assetable_id") VALUES ('2011-09-13 15:31:55.869344', 64, 'rails.png', 6646, 'Ckeditor::Picture', 50, NULL, '2011-09-13 15:31:55.869344', 'image/png', NULL)[0m
+ 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/content_rails.png
[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
-Completed 200 OK in 198ms (Views: 1.3ms | ActiveRecord: 1.1ms)
- [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] 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/content_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:0xaa50690 @content_type="image/png", @original_filename="rails.png", @tempfile=#<File:/tmp/rails.png20110913-9640-1lz98ux-0>>}
- [1m[35mAREL (0.5ms)[0m INSERT INTO "ckeditor_assets" ("updated_at", "height", "data_file_name", "data_file_size", "type", "width", "assetable_type", "created_at", "data_content_type", "assetable_id") VALUES ('2011-09-13 15:31:56.063391', 64, 'rails.png', 6646, 'Ckeditor::Picture', 50, NULL, '2011-09-13 15:31:56.063391', 'image/png', NULL)
+ 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/content_rails.png
[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
-Completed 200 OK in 181ms (Views: 0.7ms | ActiveRecord: 1.4ms)
+[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.3ms)[0m SELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+ [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.1ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1[0m
+ [1m[35mSQL (0.2ms)[0m SELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'
Processing by Ckeditor::PicturesController#create as HTML
Parameters: {"qqfile"=>"rails.png"}
- [1m[36mAREL (0.5ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "height", "data_file_name", "data_file_size", "type", "width", "assetable_type", "created_at", "data_content_type", "assetable_id") VALUES ('2011-09-13 15:31:56.243775', 64, 'rails.png', 6646, 'Ckeditor::Picture', 50, NULL, '2011-09-13 15:31:56.243775', 'image/png', NULL)[0m
+ [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/content_rails.png
[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
-Completed 200 OK in 244ms (Views: 0.4ms | ActiveRecord: 1.2ms)
+[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.1ms)[0m [1mSELECT "ckeditor_assets".* FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+ [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[36mAREL (0.4ms)[0m [1mINSERT INTO "ckeditor_assets" ("updated_at", "height", "data_file_name", "data_file_size", "type", "width", "assetable_type", "created_at", "data_content_type", "assetable_id") VALUES ('2011-09-13 15:31:56.512585', 64, 'rails.png', 6646, 'Ckeditor::Picture', 50, NULL, '2011-09-13 15:31:56.512585', 'image/png', NULL)[0m
+[paperclip] deleting /var/www/gems/ckeditor/test/dummy/public/ckeditor_assets/pictures/1/content_rails.png
+ [1m[35mAREL (0.2ms)[0m DELETE FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture' AND "ckeditor_assets"."id" = 1
+ [1m[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/content_rails.png
[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/content_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 8ms
- [1m[36mSQL (0.1ms)[0m [1mSELECT COUNT(*) FROM "ckeditor_assets" WHERE "ckeditor_assets"."type" = 'Ckeditor::Picture'[0m
+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
+ [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.5ms)
-Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms)
+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 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
+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.2ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-09-13 15:31:56.555400', '2011-09-13 15:31:56.555400', 'test')
+ [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 Tue Sep 13 18:31:56 +0300 2011
+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 (7.5ms)
-Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.5ms)
- [1m[36mAREL (0.2ms)[0m [1mDELETE FROM "posts" WHERE "posts"."id" = 1[0m
- [1m[35mAREL (0.2ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-09-13 15:31:56.590356', '2011-09-13 15:31:56.590356', 'test')
+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 Tue Sep 13 18:31:56 +0300 2011
+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 6ms (Views: 5.3ms | ActiveRecord: 0.6ms)
+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.2ms)[0m [1mINSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-09-13 15:31:56.604190', '2011-09-13 15:31:56.604190', 'test')[0m
+ [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 Tue Sep 13 18:31:56 +0300 2011
+Started GET "/posts" for 127.0.0.1 at Sun Oct 16 23:40:48 +0300 2011
Processing by PostsController#index as HTML
- [1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts"
-Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
+ [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.2ms)[0m INSERT INTO "posts" ("content", "info", "created_at", "updated_at", "title") VALUES ('content', 'info', '2011-09-13 15:31:56.614487', '2011-09-13 15:31:56.614487', 'test')
+ [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 Tue Sep 13 18:31:56 +0300 2011
+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 (3.5ms)
-Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.5ms)
+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[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 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)