file_manager_engine 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +8 -4
- data/MIT-LICENSE +1 -1
- data/README.md +41 -15
- data/app/models/file_manager.rb +7 -8
- data/file_manager_engine.gemspec +1 -0
- data/lib/file_manager_engine.rb +15 -16
- data/lib/file_manager_engine/version.rb +1 -1
- data/run_tests.sh +8 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +14 -15
- data/spec/dummy/log/development.log +89 -85
- data/spec/dummy/log/test.log +274 -375
- metadata +20 -14
- data/README.rdoc +0 -3
- data/app/models/.gitkeep +0 -0
- data/app/views/.gitkeep +0 -0
- data/lib/tasks/file_manager_engine_tasks.rake +0 -4
- data/spec/dummy/db/test.sqlite3 +0 -0
data/spec/dummy/log/test.log
CHANGED
@@ -1,466 +1,365 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
Connecting to database specified by database.yml
|
7
|
-
Connecting to database specified by database.yml
|
8
|
-
Connecting to database specified by database.yml
|
9
|
-
Connecting to database specified by database.yml
|
10
|
-
Connecting to database specified by database.yml
|
11
|
-
Connecting to database specified by database.yml
|
12
|
-
Connecting to database specified by database.yml
|
13
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
|
-
[1m[35mSQL (27.7ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:23:23 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:23:23 UTC +00:00]]
|
15
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
16
|
-
Connecting to database specified by database.yml
|
17
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35mSQL (27.8ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:27:43 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:27:43 UTC +00:00]]
|
19
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:27:43 UTC +00:00], ["entity_id", 1], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:27:43 UTC +00:00]]
|
20
|
-
[1m[35m (184.6ms)[0m commit transaction
|
21
|
-
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
22
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
23
|
-
Connecting to database specified by database.yml
|
24
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25
|
-
[1m[35mSQL (27.4ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:30:18 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:30:18 UTC +00:00]]
|
26
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:30:18 UTC +00:00], ["entity_id", 2], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:30:18 UTC +00:00]]
|
27
|
-
[1m[35m (182.5ms)[0m commit transaction
|
28
|
-
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
29
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
30
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
31
|
-
Connecting to database specified by database.yml
|
32
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
-
[1m[35mSQL (30.9ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:32:55 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:32:55 UTC +00:00]]
|
34
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:32:56 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:32:56 UTC +00:00]]
|
35
|
-
[1m[35m (198.1ms)[0m commit transaction
|
36
|
-
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
37
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
38
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
39
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
40
|
-
Connecting to database specified by database.yml
|
41
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42
|
-
[1m[35mSQL (28.0ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:45:37 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:45:37 UTC +00:00]]
|
43
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:45:37 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:45:37 UTC +00:00]]
|
44
|
-
[1m[35m (159.4ms)[0m commit transaction
|
45
|
-
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
46
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
47
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
48
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
49
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
50
|
-
Connecting to database specified by database.yml
|
2
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
3
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
4
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
5
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
51
6
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
-
[1m[35mSQL (
|
53
|
-
[1m[36mSQL (0.
|
54
|
-
[1m[35m (
|
7
|
+
[1m[35mSQL (52.2ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00]]
|
8
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00], ["entity_id", 1], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00]]
|
9
|
+
[1m[35m (179.6ms)[0m commit transaction
|
55
10
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
56
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
57
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
58
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
59
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
60
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
|
61
|
-
Connecting to database specified by database.yml
|
62
|
-
[1m[36m (1.4ms)[0m [1mselect sqlite_version(*)[0m
|
63
|
-
[1m[35m (172.3ms)[0m CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" varchar(255), "path" varchar(255), "image_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
64
|
-
[1m[36m (154.7ms)[0m [1mCREATE TABLE "file_managers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "entity_type" varchar(255), "entity_id" varchar(255), "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
65
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("file_managers")
|
66
|
-
[1m[36m (178.1ms)[0m [1mCREATE INDEX "index_file_managers_on_entity_type_and_entity_id" ON "file_managers" ("entity_type", "entity_id")[0m
|
67
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("file_managers")
|
68
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_file_managers_on_entity_type_and_entity_id')[0m
|
69
|
-
[1m[35m (211.4ms)[0m CREATE INDEX "index_file_managers_on_file" ON "file_managers" ("file")
|
70
|
-
[1m[36m (188.3ms)[0m [1mCREATE TABLE "galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
71
|
-
[1m[35m (155.0ms)[0m CREATE TABLE "images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar(255), "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
72
|
-
[1m[36m (390.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
73
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
74
|
-
[1m[36m (133.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
75
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
76
|
-
[1m[36m (133.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120925140600')[0m
|
77
|
-
[1m[35m (134.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120924145423')
|
78
|
-
[1m[36m (167.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120924151353')[0m
|
79
|
-
[1m[35m (167.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120924150641')
|
80
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
81
|
-
Connecting to database specified by database.yml
|
82
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
83
|
-
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00]]
|
84
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00], ["entity_id", 1], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00]]
|
85
|
-
[1m[35m (190.0ms)[0m commit transaction
|
86
|
-
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
87
11
|
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
88
12
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "
|
90
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
91
|
-
[1m[35m (
|
92
|
-
[1m[36mFileManager Load (0.
|
13
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00]]
|
14
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00], ["entity_id", 2], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:53 UTC +00:00]]
|
15
|
+
[1m[35m (182.7ms)[0m commit transaction
|
16
|
+
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
93
17
|
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
94
18
|
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
95
19
|
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
96
20
|
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1[0m
|
97
21
|
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
|
98
|
-
|
22
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
23
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 1]]
|
25
|
+
[1m[35m (167.0ms)[0m commit transaction
|
99
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
-
[1m[35mSQL (
|
101
|
-
[1m[
|
102
|
-
[1m[
|
27
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
|
28
|
+
[1m[36m (199.3ms)[0m [1mcommit transaction[0m
|
29
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
30
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
|
32
|
+
[1m[36m (142.0ms)[0m [1mcommit transaction[0m
|
33
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 2]]
|
35
|
+
[1m[35m (143.8ms)[0m commit transaction
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
38
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
39
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
40
|
+
[1m[36m (138.0ms)[0m [1mcommit transaction[0m
|
41
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
42
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
43
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
45
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
46
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
|
47
|
+
[1m[35m (137.5ms)[0m commit transaction
|
103
48
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
104
|
-
[1m[35mArticle Load (0.
|
105
|
-
[1m[36mArticle Load (0.
|
106
|
-
[1m[
|
107
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35mSQL (0.8ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00]]
|
109
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00]]
|
110
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00]]
|
111
|
-
[1m[36m (177.1ms)[0m [1mcommit transaction[0m
|
112
|
-
[1m[35mFileManager Load (0.4ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
113
|
-
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1[0m
|
114
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
|
49
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
50
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
51
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
115
52
|
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
116
53
|
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
|
117
|
-
Connecting to database specified by database.yml
|
118
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
-
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:52:50 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:52:50 UTC +00:00]]
|
120
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:52:50 UTC +00:00], ["entity_id", 5], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:50 UTC +00:00]]
|
121
|
-
[1m[35m (209.0ms)[0m commit transaction
|
122
|
-
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
123
|
-
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
124
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
125
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
126
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
127
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
|
128
54
|
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
129
|
-
[1m[35m (0.0ms)[0m begin transaction
|
130
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 1]]
|
131
|
-
[1m[35m (155.7ms)[0m commit transaction
|
132
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
133
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
|
134
|
-
[1m[36m (132.8ms)[0m [1mcommit transaction[0m
|
135
55
|
[1m[35m (0.1ms)[0m begin transaction
|
136
|
-
[1m[36mSQL (0.
|
137
|
-
[1m[35m (
|
56
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 3]]
|
57
|
+
[1m[35m (146.2ms)[0m commit transaction
|
138
58
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
139
59
|
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
|
140
|
-
[1m[36m (
|
141
|
-
[1m[
|
142
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 5]]
|
143
|
-
[1m[35m (168.3ms)[0m commit transaction
|
144
|
-
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" [0m
|
145
|
-
[1m[35m (0.1ms)[0m begin transaction
|
146
|
-
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 1]]
|
147
|
-
[1m[35m (185.3ms)[0m commit transaction
|
60
|
+
[1m[36m (145.1ms)[0m [1mcommit transaction[0m
|
61
|
+
[1m[35mFileManager Load (0.4ms)[0m SELECT "file_managers".* FROM "file_managers"
|
148
62
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
149
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id",
|
150
|
-
[1m[36m (
|
63
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
|
64
|
+
[1m[36m (153.3ms)[0m [1mcommit transaction[0m
|
151
65
|
[1m[35m (0.1ms)[0m begin transaction
|
152
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id",
|
153
|
-
[1m[35m (
|
66
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 4]]
|
67
|
+
[1m[35m (154.7ms)[0m commit transaction
|
154
68
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
155
|
-
[1m[35mSQL (0.
|
156
|
-
[1m[36m (
|
69
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
|
70
|
+
[1m[36m (344.9ms)[0m [1mcommit transaction[0m
|
157
71
|
[1m[35m (0.1ms)[0m begin transaction
|
158
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id",
|
159
|
-
[1m[35m (
|
72
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 6]]
|
73
|
+
[1m[35m (144.1ms)[0m commit transaction
|
74
|
+
Connecting to database specified by database.yml
|
75
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
76
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
77
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
78
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
160
79
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
161
|
-
[1m[35mSQL (
|
162
|
-
[1m[
|
163
|
-
[1m[35m (
|
164
|
-
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
|
165
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00], ["entity_id", 6], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
|
166
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00], ["entity_id", 6], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
|
167
|
-
[1m[35m (259.2ms)[0m commit transaction
|
80
|
+
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00]]
|
81
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00], ["entity_id", 5], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00]]
|
82
|
+
[1m[35m (177.6ms)[0m commit transaction
|
168
83
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
169
|
-
[1m[35mArticle Load (0.
|
84
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
|
170
85
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
171
|
-
[1m[35mSQL (0.
|
172
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
173
|
-
[1m[
|
174
|
-
[1m[
|
175
|
-
[1m[
|
176
|
-
[1m[36mArticle Load (0.
|
177
|
-
[1m[
|
178
|
-
[1m[
|
86
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00]]
|
87
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00], ["entity_id", 6], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:45 UTC +00:00]]
|
88
|
+
[1m[35m (169.8ms)[0m commit transaction
|
89
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
90
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
|
91
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1[0m
|
92
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
93
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1[0m
|
179
94
|
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
|
180
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles"
|
181
|
-
|
95
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
96
|
+
[1m[35m (0.1ms)[0m begin transaction
|
97
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 5]]
|
98
|
+
[1m[35m (137.0ms)[0m commit transaction
|
182
99
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
183
|
-
[1m[35mSQL (
|
184
|
-
[1m[
|
185
|
-
[1m[
|
186
|
-
[1m[
|
187
|
-
[1m[
|
100
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 6]]
|
101
|
+
[1m[36m (154.8ms)[0m [1mcommit transaction[0m
|
102
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
103
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
104
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 7]]
|
105
|
+
[1m[36m (142.8ms)[0m [1mcommit transaction[0m
|
106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
107
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 8]]
|
108
|
+
[1m[35m (143.9ms)[0m commit transaction
|
109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
111
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["entity_id", 7], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
112
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["entity_id", 7], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
113
|
+
[1m[36m (158.9ms)[0m [1mcommit transaction[0m
|
114
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
188
115
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1[0m
|
189
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1
|
190
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
191
116
|
[1m[35m (0.0ms)[0m begin transaction
|
192
|
-
[1m[36mSQL (0.
|
193
|
-
[1m[
|
194
|
-
[1m[
|
195
|
-
[1m[
|
196
|
-
[1m[
|
197
|
-
[1m[
|
198
|
-
[1m[
|
199
|
-
[1m[
|
200
|
-
[1m[
|
117
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
118
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["entity_id", 8], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
119
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00], ["entity_id", 8], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
|
120
|
+
[1m[35m (150.1ms)[0m commit transaction
|
121
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
122
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
|
123
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1[0m
|
124
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
125
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1[0m
|
126
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1
|
127
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
201
128
|
[1m[35m (0.1ms)[0m begin transaction
|
202
|
-
[1m[36mSQL (0.
|
203
|
-
[1m[35m (
|
129
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 7]]
|
130
|
+
[1m[35m (170.0ms)[0m commit transaction
|
204
131
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
205
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "
|
206
|
-
[1m[36m (
|
207
|
-
[1m[
|
208
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 9]]
|
209
|
-
[1m[35m (154.8ms)[0m commit transaction
|
132
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 8]]
|
133
|
+
[1m[36m (143.8ms)[0m [1mcommit transaction[0m
|
134
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
210
135
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
211
|
-
[1m[35mSQL (0.
|
212
|
-
[1m[36m (
|
136
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 9]]
|
137
|
+
[1m[36m (165.8ms)[0m [1mcommit transaction[0m
|
213
138
|
[1m[35m (0.1ms)[0m begin transaction
|
214
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id",
|
215
|
-
[1m[35m (
|
139
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 10]]
|
140
|
+
[1m[35m (217.2ms)[0m commit transaction
|
216
141
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
-
[1m[35mSQL (
|
218
|
-
[1m[
|
219
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00], ["entity_id", 9], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
|
220
|
-
[1m[36m (149.2ms)[0m [1mcommit transaction[0m
|
221
|
-
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
222
|
-
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1[0m
|
142
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 11]]
|
143
|
+
[1m[36m (161.2ms)[0m [1mcommit transaction[0m
|
223
144
|
[1m[35m (0.1ms)[0m begin transaction
|
224
|
-
[1m[36mSQL (0.
|
225
|
-
[1m[
|
226
|
-
|
227
|
-
[1m[
|
228
|
-
[1m[
|
229
|
-
[1m[
|
145
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 12]]
|
146
|
+
[1m[35m (155.0ms)[0m commit transaction
|
147
|
+
Connecting to database specified by database.yml
|
148
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
149
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
150
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
151
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
153
|
+
[1m[35mSQL (4.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00]]
|
154
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00], ["entity_id", 9], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00]]
|
155
|
+
[1m[35m (166.8ms)[0m commit transaction
|
156
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
157
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
|
158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
159
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00]]
|
160
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00], ["entity_id", 10], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:01 UTC +00:00]]
|
161
|
+
[1m[35m (140.5ms)[0m commit transaction
|
162
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
163
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
|
230
164
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 10 LIMIT 1[0m
|
231
165
|
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
232
166
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1[0m
|
233
167
|
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 10 LIMIT 1
|
234
|
-
Connecting to database specified by database.yml
|
235
168
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
236
|
-
[1m[35m (0.
|
237
|
-
[1m[36mSQL (
|
238
|
-
[1m[35m (
|
169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
170
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 9]]
|
171
|
+
[1m[35m (147.9ms)[0m commit transaction
|
239
172
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
-
[1m[35mSQL (0.
|
241
|
-
[1m[36m (
|
242
|
-
[1m[35mFileManager Load (0.
|
173
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 10]]
|
174
|
+
[1m[36m (166.7ms)[0m [1mcommit transaction[0m
|
175
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
243
176
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
244
|
-
[1m[35mSQL (0.
|
245
|
-
[1m[36m (
|
177
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 13]]
|
178
|
+
[1m[36m (153.1ms)[0m [1mcommit transaction[0m
|
246
179
|
[1m[35m (0.1ms)[0m begin transaction
|
247
|
-
[1m[36mSQL (0.
|
248
|
-
[1m[35m (
|
180
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 14]]
|
181
|
+
[1m[35m (177.2ms)[0m commit transaction
|
249
182
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
250
|
-
[1m[35mSQL (
|
251
|
-
[1m[
|
183
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
184
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["entity_id", 11], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
185
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["entity_id", 11], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
186
|
+
[1m[36m (159.5ms)[0m [1mcommit transaction[0m
|
187
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
188
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1[0m
|
252
189
|
[1m[35m (0.1ms)[0m begin transaction
|
253
|
-
[1m[36mSQL (0.
|
254
|
-
[1m[
|
255
|
-
[1m[
|
256
|
-
[1m[
|
257
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00], ["entity_id", 11], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00]]
|
258
|
-
[1m[35m (190.0ms)[0m commit transaction
|
259
|
-
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
260
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
|
261
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00]]
|
263
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00], ["entity_id", 12], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00]]
|
264
|
-
[1m[35m (185.1ms)[0m commit transaction
|
190
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
191
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["entity_id", 12], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
192
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00], ["entity_id", 12], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
|
193
|
+
[1m[35m (179.8ms)[0m commit transaction
|
265
194
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
266
195
|
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
|
267
|
-
[1m[36mArticle Load (0.
|
268
|
-
[1m[35mFileManager Load (0.
|
269
|
-
[1m[36mArticle Load (0.
|
270
|
-
[1m[35mArticle Load (0.
|
271
|
-
[1m[36mArticle Load (0.
|
272
|
-
[1m[35m (0.
|
273
|
-
[1m[36mSQL (0.
|
274
|
-
[1m[35m (
|
196
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1[0m
|
197
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
198
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1[0m
|
199
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
|
200
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
201
|
+
[1m[35m (0.0ms)[0m begin transaction
|
202
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 11]]
|
203
|
+
[1m[35m (173.7ms)[0m commit transaction
|
275
204
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
276
205
|
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 12]]
|
277
|
-
[1m[36m (
|
206
|
+
[1m[36m (279.3ms)[0m [1mcommit transaction[0m
|
278
207
|
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
279
208
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
280
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id",
|
281
|
-
[1m[36m (
|
209
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 15]]
|
210
|
+
[1m[36m (176.2ms)[0m [1mcommit transaction[0m
|
282
211
|
[1m[35m (0.1ms)[0m begin transaction
|
283
|
-
[1m[36mSQL (0.
|
284
|
-
[1m[35m (
|
212
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 16]]
|
213
|
+
[1m[35m (177.1ms)[0m commit transaction
|
285
214
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
286
|
-
[1m[35mSQL (0.
|
287
|
-
[1m[
|
288
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00], ["entity_id", 13], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
|
289
|
-
[1m[36m (218.4ms)[0m [1mcommit transaction[0m
|
290
|
-
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
291
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1[0m
|
215
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 17]]
|
216
|
+
[1m[36m (233.6ms)[0m [1mcommit transaction[0m
|
292
217
|
[1m[35m (0.1ms)[0m begin transaction
|
293
|
-
[1m[36mSQL (0.
|
294
|
-
[1m[
|
295
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00], ["entity_id", 14], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
|
296
|
-
[1m[35m (191.9ms)[0m commit transaction
|
297
|
-
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
298
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1
|
299
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 14 LIMIT 1[0m
|
300
|
-
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
301
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1[0m
|
302
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 14 LIMIT 1
|
218
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 18]]
|
219
|
+
[1m[35m (188.9ms)[0m commit transaction
|
303
220
|
Connecting to database specified by database.yml
|
304
221
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
305
|
-
[1m[
|
306
|
-
[1m[
|
307
|
-
[1m[
|
222
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
223
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
224
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
308
225
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
309
|
-
[1m[35mSQL (
|
310
|
-
[1m[
|
311
|
-
[1m[
|
226
|
+
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00]]
|
227
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00], ["entity_id", 1], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00]]
|
228
|
+
[1m[35m (296.3ms)[0m commit transaction
|
229
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
230
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
312
231
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
313
|
-
[1m[35mSQL (0.
|
314
|
-
[1m[
|
315
|
-
[1m[35m (
|
316
|
-
[1m[
|
317
|
-
[1m[
|
232
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00]]
|
233
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00], ["entity_id", 2], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:33 UTC +00:00]]
|
234
|
+
[1m[35m (179.6ms)[0m commit transaction
|
235
|
+
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
236
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
237
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
238
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
239
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1[0m
|
240
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
|
241
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
242
|
+
[1m[35m (0.0ms)[0m begin transaction
|
243
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 1]]
|
244
|
+
[1m[35m (150.3ms)[0m commit transaction
|
318
245
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
319
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "
|
320
|
-
[1m[36m (
|
321
|
-
[1m[
|
322
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 21]]
|
323
|
-
[1m[35m (177.7ms)[0m commit transaction
|
324
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
325
|
-
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
246
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
|
247
|
+
[1m[36m (143.9ms)[0m [1mcommit transaction[0m
|
248
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
326
249
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
327
|
-
[1m[35mSQL (
|
328
|
-
[1m[
|
329
|
-
[1m[35m (
|
330
|
-
[1m[
|
331
|
-
[1m[
|
250
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
|
251
|
+
[1m[36m (164.2ms)[0m [1mcommit transaction[0m
|
252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
253
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 2]]
|
254
|
+
[1m[35m (177.1ms)[0m commit transaction
|
332
255
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
333
|
-
[1m[35mSQL (
|
334
|
-
[1m[36mSQL (0.
|
335
|
-
[1m[
|
256
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
257
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
258
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
259
|
+
[1m[36m (215.0ms)[0m [1mcommit transaction[0m
|
260
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
261
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
263
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
264
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
|
266
|
+
[1m[35m (147.1ms)[0m commit transaction
|
336
267
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
337
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
338
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
268
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
269
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
339
270
|
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
340
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
341
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
271
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
272
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
|
342
273
|
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
343
274
|
[1m[35m (0.1ms)[0m begin transaction
|
344
|
-
[1m[36mSQL (0.
|
345
|
-
[1m[35m (
|
275
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 3]]
|
276
|
+
[1m[35m (137.3ms)[0m commit transaction
|
346
277
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
347
|
-
[1m[35mSQL (0.
|
348
|
-
[1m[36m (
|
278
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
|
279
|
+
[1m[36m (133.4ms)[0m [1mcommit transaction[0m
|
349
280
|
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
350
281
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.
|
352
|
-
[1m[36m (
|
353
|
-
[1m[35m (0.2ms)[0m begin transaction
|
354
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 23]]
|
355
|
-
[1m[35m (154.9ms)[0m commit transaction
|
356
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
357
|
-
[1m[35mSQL (1.6ms)[0m INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
358
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["entity_id", 17], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
359
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["entity_id", 17], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
360
|
-
[1m[36m (181.3ms)[0m [1mcommit transaction[0m
|
361
|
-
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
362
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1[0m
|
363
|
-
[1m[35m (0.0ms)[0m begin transaction
|
364
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
365
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["entity_id", 18], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
366
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00], ["entity_id", 18], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
|
367
|
-
[1m[35m (206.4ms)[0m commit transaction
|
368
|
-
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
369
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1
|
370
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 18 LIMIT 1[0m
|
371
|
-
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
372
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1[0m
|
373
|
-
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 18 LIMIT 1
|
374
|
-
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
375
|
-
[1m[35m (0.0ms)[0m begin transaction
|
376
|
-
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 17]]
|
377
|
-
[1m[35m (161.2ms)[0m commit transaction
|
378
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
379
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 18]]
|
380
|
-
[1m[36m (144.3ms)[0m [1mcommit transaction[0m
|
381
|
-
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
382
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
383
|
-
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 24]]
|
384
|
-
[1m[36m (266.0ms)[0m [1mcommit transaction[0m
|
282
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
|
283
|
+
[1m[36m (143.0ms)[0m [1mcommit transaction[0m
|
385
284
|
[1m[35m (0.1ms)[0m begin transaction
|
386
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id",
|
387
|
-
[1m[35m (
|
285
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 4]]
|
286
|
+
[1m[35m (143.8ms)[0m commit transaction
|
388
287
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
389
|
-
[1m[35mSQL (0.
|
390
|
-
[1m[36m (
|
288
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
|
289
|
+
[1m[36m (155.3ms)[0m [1mcommit transaction[0m
|
391
290
|
[1m[35m (0.1ms)[0m begin transaction
|
392
|
-
[1m[36mSQL (0.
|
393
|
-
[1m[35m (
|
291
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 6]]
|
292
|
+
[1m[35m (154.9ms)[0m commit transaction
|
394
293
|
Connecting to database specified by database.yml
|
395
294
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
396
295
|
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
397
296
|
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
398
297
|
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
399
298
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
400
|
-
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "
|
401
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
402
|
-
[1m[35m (
|
299
|
+
[1m[35mSQL (3.9ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00]]
|
300
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00], ["entity_id", 1], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00]]
|
301
|
+
[1m[35m (316.4ms)[0m commit transaction
|
403
302
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
404
|
-
[1m[35mArticle Load (0.
|
303
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
405
304
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
406
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "
|
407
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
408
|
-
[1m[35m (188.
|
409
|
-
[1m[36mFileManager Load (0.
|
410
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
411
|
-
[1m[36mArticle Load (0.
|
305
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00]]
|
306
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00], ["entity_id", 2], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:28 UTC +00:00]]
|
307
|
+
[1m[35m (188.8ms)[0m commit transaction
|
308
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
309
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
310
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
412
311
|
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
413
|
-
[1m[36mArticle Load (0.
|
414
|
-
[1m[35mArticle Load (0.
|
415
|
-
[1m[36mArticle Load (0.
|
312
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1[0m
|
313
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
|
314
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
416
315
|
[1m[35m (0.1ms)[0m begin transaction
|
417
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id",
|
418
|
-
[1m[35m (
|
316
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 1]]
|
317
|
+
[1m[35m (166.7ms)[0m commit transaction
|
419
318
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
420
|
-
[1m[35mSQL (0.
|
421
|
-
[1m[36m (
|
422
|
-
[1m[35mFileManager Load (0.
|
423
|
-
[1m[36m (0.
|
424
|
-
[1m[35mSQL (0.
|
425
|
-
[1m[36m (
|
319
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
|
320
|
+
[1m[36m (154.9ms)[0m [1mcommit transaction[0m
|
321
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
323
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
|
324
|
+
[1m[36m (174.6ms)[0m [1mcommit transaction[0m
|
426
325
|
[1m[35m (0.1ms)[0m begin transaction
|
427
|
-
[1m[36mSQL (0.
|
428
|
-
[1m[35m (
|
326
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 2]]
|
327
|
+
[1m[35m (176.9ms)[0m commit transaction
|
429
328
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
430
|
-
[1m[35mSQL (1.
|
431
|
-
[1m[36mSQL (0.
|
432
|
-
[1m[35mSQL (0.
|
433
|
-
[1m[36m (
|
329
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
330
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
331
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
332
|
+
[1m[36m (173.2ms)[0m [1mcommit transaction[0m
|
434
333
|
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
435
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
334
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
436
335
|
[1m[35m (0.1ms)[0m begin transaction
|
437
|
-
[1m[36mSQL (0.
|
438
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at",
|
439
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at",
|
440
|
-
[1m[35m (
|
336
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["body", nil], ["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
337
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
338
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00], ["entity_id", 4], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
|
339
|
+
[1m[35m (157.8ms)[0m commit transaction
|
441
340
|
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
442
|
-
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
443
|
-
[1m[36mArticle Load (0.
|
444
|
-
[1m[35mFileManager Load (0.
|
445
|
-
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" =
|
446
|
-
[1m[35mArticle Load (0.
|
447
|
-
[1m[36mArticle Load (0.
|
448
|
-
[1m[35m (0.
|
449
|
-
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id",
|
450
|
-
[1m[35m (
|
341
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
342
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1[0m
|
343
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
344
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
345
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
|
346
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
348
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 3]]
|
349
|
+
[1m[35m (226.9ms)[0m commit transaction
|
451
350
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
452
|
-
[1m[35mSQL (0.
|
453
|
-
[1m[36m (
|
454
|
-
[1m[35mFileManager Load (0.
|
455
|
-
[1m[36m (0.
|
456
|
-
[1m[35mSQL (0.
|
457
|
-
[1m[36m (
|
351
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
|
352
|
+
[1m[36m (132.7ms)[0m [1mcommit transaction[0m
|
353
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
355
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
|
356
|
+
[1m[36m (164.5ms)[0m [1mcommit transaction[0m
|
458
357
|
[1m[35m (0.1ms)[0m begin transaction
|
459
|
-
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id",
|
460
|
-
[1m[35m (
|
358
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 4]]
|
359
|
+
[1m[35m (177.2ms)[0m commit transaction
|
461
360
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
462
|
-
[1m[35mSQL (0.
|
463
|
-
[1m[36m (
|
361
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
|
362
|
+
[1m[36m (155.8ms)[0m [1mcommit transaction[0m
|
464
363
|
[1m[35m (0.1ms)[0m begin transaction
|
465
|
-
[1m[36mSQL (0.
|
466
|
-
[1m[35m (
|
364
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 6]]
|
365
|
+
[1m[35m (155.7ms)[0m commit transaction
|