spec/dummy/log/test.log in rails-uploader-0.2.8 vs spec/dummy/log/test.log in rails-uploader-0.3.0

- old
+ new

@@ -3171,5 +3171,330 @@  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.9ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + SQL (1.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:29:08.438518"], ["title", "MyString"], ["updated_at", "2016-06-06 15:29:08.438518"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (1.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:29:08.450083"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:29:08.450083"]] +  (0.9ms) commit transaction + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" IS NULL ORDER BY "assets"."id" ASC LIMIT 1 + SQL (1.1ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" IS NULL + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" = 'kyAiZm9riQtqcxdoxWfR' ORDER BY "assets"."id" ASC LIMIT 1 +  (1.0ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.8ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) begin transaction + SQL (1.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:29:59.495508"], ["title", "MyString"], ["updated_at", "2016-06-06 15:29:59.495508"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (1.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:29:59.507167"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:29:59.507167"]] +  (0.8ms) commit transaction + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" IS NULL ORDER BY "assets"."id" ASC LIMIT 1 + SQL (1.0ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" IS NULL + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."assetable_type" = 'Article' AND "assets"."guid" = 'iHBdWsyCRUqG2BKrqJd7' ORDER BY "assets"."id" ASC LIMIT 1 +  (1.2ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.7ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:30:13 +0300 +  (0.2ms) begin transaction + SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:13.289159"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:13.289159"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:30:13.365296"], ["title", "MyString"], ["updated_at", "2016-06-06 15:30:13.365296"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:13.376686"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:13.376686"]] +  (0.9ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:30:13 +0300 +  (0.2ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:30:13.445535"], ["title", "MyString"], ["updated_at", "2016-06-06 15:30:13.445535"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:13.449493"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:13.449493"]] +  (0.9ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:30:13 +0300 + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:30:13 +0300 +  (0.9ms) DELETE FROM "assets"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.7ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:30:58 +0300 +  (0.2ms) begin transaction + SQL (2.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:58.546491"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:58.546491"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:30:58.620358"], ["title", "MyString"], ["updated_at", "2016-06-06 15:30:58.620358"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:58.631533"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:58.631533"]] +  (0.8ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:30:58 +0300 +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:30:58.692947"], ["title", "MyString"], ["updated_at", "2016-06-06 15:30:58.692947"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:30:58.696861"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:30:58.696861"]] +  (0.9ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:30:58 +0300 + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:30:58 +0300 +  (1.0ms) DELETE FROM "assets"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.8ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:31:18 +0300 +  (0.3ms) begin transaction + SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:18.273292"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:18.273292"]] +  (0.9ms) commit transaction +  (0.2ms) begin transaction + SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:31:18.350751"], ["title", "MyString"], ["updated_at", "2016-06-06 15:31:18.350751"]] +  (1.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:18.365141"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:18.365141"]] +  (0.9ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:31:18 +0300 +  (0.2ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:31:18.452551"], ["title", "MyString"], ["updated_at", "2016-06-06 15:31:18.452551"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:18.456692"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:18.456692"]] +  (0.9ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:31:18 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:31:18 +0300 +  (1.0ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.7ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.8ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:31:33 +0300 +  (0.1ms) begin transaction + SQL (2.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:34.072296"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:34.072296"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:31:34.147659"], ["title", "MyString"], ["updated_at", "2016-06-06 15:31:34.147659"]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:34.158844"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:34.158844"]] +  (1.0ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:31:34 +0300 +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:31:34.223368"], ["title", "MyString"], ["updated_at", "2016-06-06 15:31:34.223368"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:31:34.227250"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:31:34.227250"]] +  (0.8ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:31:34 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:31:34 +0300 +  (1.2ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.7ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:32:35 +0300 +  (0.1ms) begin transaction + SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:35.670110"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:35.670110"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:32:35.743570"], ["title", "MyString"], ["updated_at", "2016-06-06 15:32:35.743570"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:35.756631"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:35.756631"]] +  (0.9ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:32:35 +0300 +  (0.2ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:32:35.821022"], ["title", "MyString"], ["updated_at", "2016-06-06 15:32:35.821022"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:35.824882"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:35.824882"]] +  (1.0ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:32:35 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:32:35 +0300 +  (1.1ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.7ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:32:44 +0300 +  (0.2ms) begin transaction + SQL (0.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:44.542100"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:44.542100"]] +  (0.8ms) commit transaction +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:32:44.621199"], ["title", "MyString"], ["updated_at", "2016-06-06 15:32:44.621199"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:44.631376"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:44.631376"]] +  (0.8ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:32:44 +0300 +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:32:44.692573"], ["title", "MyString"], ["updated_at", "2016-06-06 15:32:44.692573"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:32:44.696399"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:32:44.696399"]] +  (0.9ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:32:44 +0300 + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:32:44 +0300 +  (1.1ms) DELETE FROM "assets"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.7ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:37:50 +0300 +  (0.2ms) begin transaction + SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:37:50.540551"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:37:50.540551"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (1.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:37:50.614538"], ["title", "MyString"], ["updated_at", "2016-06-06 15:37:50.614538"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:37:50.629457"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:37:50.629457"]] +  (0.9ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:37:50 +0300 +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:37:50.692807"], ["title", "MyString"], ["updated_at", "2016-06-06 15:37:50.692807"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:37:50.696889"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:37:50.696889"]] +  (1.1ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:37:50 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:37:50 +0300 +  (1.0ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.8ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:39:02 +0300 +  (0.2ms) begin transaction + SQL (2.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:02.896748"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:02.896748"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:39:02.967362"], ["title", "MyString"], ["updated_at", "2016-06-06 15:39:02.967362"]] +  (0.9ms) commit transaction +  (0.1ms) begin transaction + SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:02.979112"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:02.979112"]] +  (1.3ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2016-06-06 18:39:02 +0300 +  (0.2ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:39:03.040208"], ["title", "MyString"], ["updated_at", "2016-06-06 15:39:03.040208"]] +  (0.8ms) commit transaction +  (0.0ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:03.044289"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:03.044289"]] +  (0.8ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:39:03 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:39:03 +0300 +  (1.0ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.2ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.8ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.1ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:39:23 +0300 +  (0.2ms) begin transaction + SQL (2.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:24.022812"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:24.022812"]] +  (1.8ms) commit transaction +  (0.1ms) begin transaction + SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:39:24.131617"], ["title", "MyString"], ["updated_at", "2016-06-06 15:39:24.131617"]] +  (1.7ms) commit transaction +  (0.2ms) begin transaction + SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:24.150265"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:24.150265"]] +  (1.0ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/2" for 127.0.0.1 at 2016-06-06 18:39:24 +0300 + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 2 ORDER BY "assets"."id" ASC LIMIT 1 +  (0.1ms) begin transaction + SQL (0.5ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]] +  (0.9ms) commit transaction +  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +  (0.2ms) begin transaction + SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-06 15:39:24.250117"], ["title", "MyString"], ["updated_at", "2016-06-06 15:39:24.250117"]] +  (1.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-06 15:39:24.270074"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-06 15:39:24.270074"]] +  (1.2ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-06 18:39:24 +0300 + Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-06 18:39:24 +0300 +  (1.1ms) DELETE FROM "assets"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.3ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (1.1ms) DELETE FROM "articles"; +  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (1.1ms) DELETE FROM sqlite_sequence where name = 'articles'; + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-08 16:15:12 +0300 +  (0.1ms) begin transaction + SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-08 13:15:13.046440"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", "2016-06-08 13:15:13.046440"]] +  (0.8ms) commit transaction +  (0.1ms) begin transaction + SQL (1.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-08 13:15:13.116947"], ["title", "MyString"], ["updated_at", "2016-06-08 13:15:13.116947"]] +  (1.0ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-06-08 13:15:13.131176"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-08 13:15:13.131176"]] +  (0.8ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +Started DELETE "/uploader/attachments/2" for 127.0.0.1 at 2016-06-08 16:15:13 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 2 ORDER BY "assets"."id" ASC LIMIT 1 +  (0.0ms) begin transaction + SQL (0.3ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]] +  (0.8ms) commit transaction +  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-06-08 13:15:13.213701"], ["title", "MyString"], ["updated_at", "2016-06-08 13:15:13.213701"]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-06-08 13:15:13.217333"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["type", "Picture"], ["updated_at", "2016-06-08 13:15:13.217333"]] +  (0.8ms) commit transaction +Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-06-08 16:15:13 +0300 + Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = 0 ORDER BY "assets"."id" ASC LIMIT 1 +Started POST "/uploader/attachments" for 127.0.0.1 at 2016-06-08 16:15:13 +0300 +  (0.9ms) DELETE FROM "assets"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets'; +  (0.9ms) DELETE FROM "articles"; +  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence'; +  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles';