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.
@@ -1,466 +1,365 @@
1
1
  Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
- ActiveRecord::JDBCError: query does not return ResultSet: PRAGMA table_info("articles")
4
- Connecting to database specified by database.yml
5
- Connecting to database specified by database.yml
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
-  (0.1ms) begin transaction
14
- SQL (27.7ms) 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
-  (0.2ms) rollback transaction
16
- Connecting to database specified by database.yml
17
-  (0.1ms) begin transaction
18
- SQL (27.8ms) 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
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (184.6ms) commit transaction
21
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
22
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
23
- Connecting to database specified by database.yml
24
-  (0.1ms) begin transaction
25
- SQL (27.4ms) 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
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (182.5ms) commit transaction
28
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
29
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
30
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
31
- Connecting to database specified by database.yml
32
-  (0.1ms) begin transaction
33
- SQL (30.9ms) 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
- SQL (0.6ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (198.1ms) commit transaction
36
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
37
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
38
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
39
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
40
- Connecting to database specified by database.yml
41
-  (0.1ms) begin transaction
42
- SQL (28.0ms) 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
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (159.4ms) commit transaction
45
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
46
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
47
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
48
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
49
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
50
- Connecting to database specified by database.yml
2
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
3
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
4
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
5
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
51
6
   (0.1ms) begin transaction
52
- SQL (3.8ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:48:24 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:48:24 UTC +00:00]]
53
- SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:48:24 UTC +00:00], ["entity_id", 5], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:48:24 UTC +00:00]]
54
-  (193.2ms) commit transaction
7
+ SQL (52.2ms) 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
+ SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (179.6ms) commit transaction
55
10
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
56
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
57
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
58
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
59
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
60
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
61
- Connecting to database specified by database.yml
62
-  (1.4ms) select sqlite_version(*)
63
-  (172.3ms) 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
-  (154.7ms) CREATE 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) 
65
-  (0.1ms) PRAGMA index_list("file_managers")
66
-  (178.1ms) CREATE INDEX "index_file_managers_on_entity_type_and_entity_id" ON "file_managers" ("entity_type", "entity_id")
67
-  (0.1ms) PRAGMA index_list("file_managers")
68
-  (0.0ms) PRAGMA index_info('index_file_managers_on_entity_type_and_entity_id')
69
-  (211.4ms) CREATE INDEX "index_file_managers_on_file" ON "file_managers" ("file")
70
-  (188.3ms) CREATE 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) 
71
-  (155.0ms) 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
-  (390.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
73
-  (0.1ms) PRAGMA index_list("schema_migrations")
74
-  (133.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
75
-  (0.1ms) SELECT version FROM "schema_migrations"
76
-  (133.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120925140600')
77
-  (134.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120924145423')
78
-  (167.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120924151353')
79
-  (167.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120924150641')
80
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
81
- Connecting to database specified by database.yml
82
-  (0.1ms) begin transaction
83
- SQL (3.9ms) 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
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (190.0ms) commit transaction
86
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
87
11
  Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
88
12
   (0.1ms) begin transaction
89
- SQL (0.4ms) 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 2"], ["updated_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00]]
90
- SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00], ["entity_id", 2], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:49:24 UTC +00:00]]
91
-  (154.1ms) commit transaction
92
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
13
+ SQL (0.4ms) 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
+ SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (182.7ms) commit transaction
16
+ FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
93
17
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
94
18
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
95
19
  FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
96
20
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
97
21
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
98
- Connecting to database specified by database.yml
22
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" 
23
+  (0.1ms) begin transaction
24
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 1]]
25
+  (167.0ms) commit transaction
99
26
   (0.1ms) begin transaction
100
- SQL (4.4ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:51:36 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:51:36 UTC +00:00]]
101
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:51:36 UTC +00:00], ["entity_id", 3], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:51:36 UTC +00:00]]
102
-  (350.5ms) commit transaction
27
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
28
+  (199.3ms) commit transaction
29
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
30
+  (0.1ms) begin transaction
31
+ SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
32
+  (142.0ms) commit transaction
33
+  (0.1ms) begin transaction
34
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 2]]
35
+  (143.8ms) commit transaction
36
+  (0.1ms) begin transaction
37
+ SQL (1.2ms) 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
+ SQL (0.4ms) 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", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
39
+ SQL (0.3ms) 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
+  (138.0ms) commit transaction
41
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
42
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
43
+  (0.0ms) begin transaction
44
+ SQL (0.8ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
45
+ SQL (0.4ms) 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
+ SQL (0.3ms) 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", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 13:47:54 UTC +00:00]]
47
+  (137.5ms) commit transaction
103
48
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
104
- Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
105
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
106
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
107
-  (0.1ms) begin transaction
108
- SQL (0.8ms) 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
- SQL (0.2ms) 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", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:51:37 UTC +00:00]]
110
- SQL (0.2ms) 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
-  (177.1ms) commit transaction
112
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
113
- Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
114
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
49
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
50
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
51
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
115
52
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
116
53
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
117
- Connecting to database specified by database.yml
118
-  (0.1ms) begin transaction
119
- SQL (3.9ms) 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
- SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (209.0ms) commit transaction
122
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
123
- Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
124
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
125
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
126
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
127
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
128
54
  Article Load (0.2ms) SELECT "articles".* FROM "articles" 
129
-  (0.0ms) begin transaction
130
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 1]]
131
-  (155.7ms) commit transaction
132
-  (0.1ms) begin transaction
133
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
134
-  (132.8ms) commit transaction
135
55
   (0.1ms) begin transaction
136
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 3]]
137
-  (132.7ms) commit transaction
56
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 3]]
57
+  (146.2ms) commit transaction
138
58
   (0.1ms) begin transaction
139
59
  SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
140
-  (132.9ms) commit transaction
141
-  (0.1ms) begin transaction
142
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 5]]
143
-  (168.3ms) commit transaction
144
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" 
145
-  (0.1ms) begin transaction
146
- SQL (0.6ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
147
-  (185.3ms) commit transaction
60
+  (145.1ms) commit transaction
61
+ FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers"
148
62
   (0.1ms) begin transaction
149
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 2]]
150
-  (188.4ms) commit transaction
63
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
64
+  (153.3ms) commit transaction
151
65
   (0.1ms) begin transaction
152
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
153
-  (211.1ms) commit transaction
66
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 4]]
67
+  (154.7ms) commit transaction
154
68
   (0.1ms) begin transaction
155
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 4]]
156
-  (154.8ms) commit transaction
69
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
70
+  (344.9ms) commit transaction
157
71
   (0.1ms) begin transaction
158
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
159
-  (155.1ms) commit transaction
72
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 6]]
73
+  (144.1ms) commit transaction
74
+ Connecting to database specified by database.yml
75
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
76
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
77
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
78
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
160
79
   (0.1ms) begin transaction
161
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 6]]
162
-  (155.2ms) commit transaction
163
-  (0.1ms) begin transaction
164
- SQL (1.5ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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
- SQL (0.3ms) 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
- SQL (0.3ms) 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", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
167
-  (259.2ms) commit transaction
80
+ SQL (3.9ms) 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
+ SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (177.6ms) commit transaction
168
83
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
169
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
84
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
170
85
   (0.1ms) begin transaction
171
- SQL (0.9ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
172
- SQL (0.2ms) 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", 7], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
173
- SQL (0.1ms) 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", 7], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
174
-  (181.2ms) commit transaction
175
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
176
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
177
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
178
- FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
86
+ SQL (0.4ms) 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
+ SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (169.8ms) commit transaction
89
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
90
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
91
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
92
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
93
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 5 LIMIT 1
179
94
  Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
180
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
181
- Connecting to database specified by database.yml
95
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
96
+  (0.1ms) begin transaction
97
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 5]]
98
+  (137.0ms) commit transaction
182
99
   (0.1ms) begin transaction
183
- SQL (4.0ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:05 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:53:05 UTC +00:00]]
184
- SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 14:53:05 UTC +00:00], ["entity_id", 8], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:05 UTC +00:00]]
185
-  (322.4ms) commit transaction
186
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
187
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
100
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 6]]
101
+  (154.8ms) commit transaction
102
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
103
+  (0.0ms) begin transaction
104
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 7]]
105
+  (142.8ms) commit transaction
106
+  (0.1ms) begin transaction
107
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 8]]
108
+  (143.9ms) commit transaction
109
+  (0.1ms) begin transaction
110
+ SQL (1.6ms) 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
+ SQL (0.4ms) 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", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
112
+ SQL (0.2ms) 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
+  (158.9ms) commit transaction
114
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
188
115
  Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
189
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1
190
- Article Load (0.2ms) SELECT "articles".* FROM "articles" 
191
116
   (0.0ms) begin transaction
192
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 6]]
193
-  (130.2ms) commit transaction
194
-  (0.1ms) begin transaction
195
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 7]]
196
-  (210.8ms) commit transaction
197
-  (0.1ms) begin transaction
198
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 8]]
199
-  (166.3ms) commit transaction
200
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" 
117
+ SQL (0.5ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
118
+ SQL (0.2ms) 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
+ SQL (0.2ms) 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", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 13:48:46 UTC +00:00]]
120
+  (150.1ms) commit transaction
121
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
122
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
123
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1
124
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
125
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
126
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 8 LIMIT 1
127
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
201
128
   (0.1ms) begin transaction
202
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 7]]
203
-  (163.2ms) commit transaction
129
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 7]]
130
+  (170.0ms) commit transaction
204
131
   (0.1ms) begin transaction
205
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 8]]
206
-  (178.6ms) commit transaction
207
-  (0.1ms) begin transaction
208
- SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 9]]
209
-  (154.8ms) commit transaction
132
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 8]]
133
+  (143.8ms) commit transaction
134
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
210
135
   (0.1ms) begin transaction
211
- SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 10]]
212
-  (177.3ms) commit transaction
136
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 9]]
137
+  (165.8ms) commit transaction
213
138
   (0.1ms) begin transaction
214
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 11]]
215
-  (155.1ms) commit transaction
139
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 10]]
140
+  (217.2ms) commit transaction
216
141
   (0.1ms) begin transaction
217
- SQL (1.3ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
218
- SQL (0.4ms) 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", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
219
- SQL (0.2ms) 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
-  (149.2ms) commit transaction
221
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
222
- Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
142
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 11]]
143
+  (161.2ms) commit transaction
223
144
   (0.1ms) begin transaction
224
- SQL (0.9ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
225
- SQL (0.4ms) 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", 10], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
226
- SQL (0.3ms) 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", 10], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
227
-  (179.7ms) commit transaction
228
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
229
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
145
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 12]]
146
+  (155.0ms) commit transaction
147
+ Connecting to database specified by database.yml
148
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
149
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
150
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
151
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
152
+  (0.1ms) begin transaction
153
+ SQL (4.4ms) 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
+ SQL (0.5ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (166.8ms) commit transaction
156
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
157
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
158
+  (0.1ms) begin transaction
159
+ SQL (0.4ms) 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
+ SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (140.5ms) commit transaction
162
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
163
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
230
164
  Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 10 LIMIT 1
231
165
  FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
232
166
  Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
233
167
  Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 10 LIMIT 1
234
- Connecting to database specified by database.yml
235
168
  Article Load (0.1ms) SELECT "articles".* FROM "articles" 
236
-  (0.1ms) begin transaction
237
- SQL (3.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 9]]
238
-  (180.5ms) commit transaction
169
+  (0.0ms) begin transaction
170
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 9]]
171
+  (147.9ms) commit transaction
239
172
   (0.1ms) begin transaction
240
- SQL (0.4ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 10]]
241
-  (155.4ms) commit transaction
242
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
173
+ SQL (0.1ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 10]]
174
+  (166.7ms) commit transaction
175
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
243
176
   (0.1ms) begin transaction
244
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 12]]
245
-  (175.8ms) commit transaction
177
+ SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 13]]
178
+  (153.1ms) commit transaction
246
179
   (0.1ms) begin transaction
247
- SQL (0.5ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 13]]
248
-  (153.9ms) commit transaction
180
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 14]]
181
+  (177.2ms) commit transaction
249
182
   (0.1ms) begin transaction
250
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 14]]
251
-  (155.0ms) commit transaction
183
+ SQL (1.3ms) 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
+ SQL (0.3ms) 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", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
185
+ SQL (0.3ms) 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
+  (159.5ms) commit transaction
187
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
188
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
252
189
   (0.1ms) begin transaction
253
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 15]]
254
-  (188.7ms) commit transaction
255
-  (0.1ms) begin transaction
256
- SQL (2.2ms) 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"], ["updated_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00]]
257
- SQL (0.6ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (190.0ms) commit transaction
259
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
260
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
261
-  (0.1ms) begin transaction
262
- SQL (0.4ms) 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
- SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
-  (185.1ms) commit transaction
190
+ SQL (0.8ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
191
+ SQL (0.4ms) 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
+ SQL (0.3ms) 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", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:02 UTC +00:00]]
193
+  (179.8ms) commit transaction
265
194
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
266
195
  Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
267
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
268
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
269
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
270
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
271
- Article Load (0.2ms) SELECT "articles".* FROM "articles" 
272
-  (0.1ms) begin transaction
273
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 11]]
274
-  (156.2ms) commit transaction
196
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
197
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
198
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
199
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
200
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
201
+  (0.0ms) begin transaction
202
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 11]]
203
+  (173.7ms) commit transaction
275
204
   (0.1ms) begin transaction
276
205
  SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 12]]
277
-  (157.0ms) commit transaction
206
+  (279.3ms) commit transaction
278
207
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
279
208
   (0.1ms) begin transaction
280
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 16]]
281
-  (154.2ms) commit transaction
209
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 15]]
210
+  (176.2ms) commit transaction
282
211
   (0.1ms) begin transaction
283
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 17]]
284
-  (155.4ms) commit transaction
212
+ SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 16]]
213
+  (177.1ms) commit transaction
285
214
   (0.1ms) begin transaction
286
- SQL (0.8ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
287
- SQL (0.2ms) 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", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
288
- SQL (0.2ms) 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
-  (218.4ms) commit transaction
290
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
291
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1
215
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 17]]
216
+  (233.6ms) commit transaction
292
217
   (0.1ms) begin transaction
293
- SQL (0.9ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
294
- SQL (0.4ms) 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", 14], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
295
- SQL (0.1ms) 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", 14], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
296
-  (191.9ms) commit transaction
297
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
298
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1
299
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 14 LIMIT 1
300
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
301
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 13 LIMIT 1
302
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 14 LIMIT 1
218
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 18]]
219
+  (188.9ms) commit transaction
303
220
  Connecting to database specified by database.yml
304
221
  Article Load (0.1ms) SELECT "articles".* FROM "articles" 
305
-  (0.1ms) begin transaction
306
- SQL (3.1ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 13]]
307
-  (175.0ms) commit transaction
222
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
223
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
224
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
308
225
   (0.1ms) begin transaction
309
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 14]]
310
-  (153.7ms) commit transaction
311
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
226
+ SQL (3.9ms) 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
+ SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (296.3ms) commit transaction
229
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
230
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
312
231
   (0.1ms) begin transaction
313
- SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 18]]
314
-  (162.0ms) commit transaction
315
-  (0.1ms) begin transaction
316
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 19]]
317
-  (177.9ms) commit transaction
232
+ SQL (0.5ms) 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
+ SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (179.6ms) commit transaction
235
+ FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
236
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
237
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
238
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
239
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
240
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
241
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
242
+  (0.0ms) begin transaction
243
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 1]]
244
+  (150.3ms) commit transaction
318
245
   (0.1ms) begin transaction
319
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 20]]
320
-  (155.2ms) commit transaction
321
-  (0.1ms) begin transaction
322
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 21]]
323
-  (177.7ms) commit transaction
324
- Article Load (0.2ms) SELECT "articles".* FROM "articles" 
325
- FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
246
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
247
+  (143.9ms) commit transaction
248
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
326
249
   (0.1ms) begin transaction
327
- SQL (2.0ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00]]
328
- SQL (0.6ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00], ["entity_id", 15], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00]]
329
-  (188.5ms) commit transaction
330
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
331
- Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 15 LIMIT 1
250
+ SQL (0.5ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
251
+  (164.2ms) commit transaction
252
+  (0.1ms) begin transaction
253
+ SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 2]]
254
+  (177.1ms) commit transaction
332
255
   (0.1ms) begin transaction
333
- SQL (0.4ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00]]
334
- SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00], ["entity_id", 16], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:00 UTC +00:00]]
335
-  (183.8ms) commit transaction
256
+ SQL (1.4ms) 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
+ SQL (0.4ms) 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", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
258
+ SQL (0.3ms) 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
+  (215.0ms) commit transaction
260
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
261
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
262
+  (0.1ms) begin transaction
263
+ SQL (0.8ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
264
+ SQL (0.5ms) 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
+ SQL (0.3ms) 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", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:00:34 UTC +00:00]]
266
+  (147.1ms) commit transaction
336
267
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
337
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 15 LIMIT 1
338
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 16 LIMIT 1
268
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
269
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
339
270
  FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
340
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 15 LIMIT 1
341
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 16 LIMIT 1
271
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
272
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
342
273
  Article Load (0.2ms) SELECT "articles".* FROM "articles" 
343
274
   (0.1ms) begin transaction
344
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 15]]
345
-  (155.9ms) commit transaction
275
+ SQL (0.1ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 3]]
276
+  (137.3ms) commit transaction
346
277
   (0.1ms) begin transaction
347
- SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 16]]
348
-  (144.1ms) commit transaction
278
+ SQL (0.1ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
279
+  (133.4ms) commit transaction
349
280
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
350
281
   (0.1ms) begin transaction
351
- SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 22]]
352
-  (287.6ms) commit transaction
353
-  (0.2ms) begin transaction
354
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 23]]
355
-  (154.9ms) commit transaction
356
-  (0.1ms) begin transaction
357
- SQL (1.6ms) 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
- SQL (0.5ms) 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", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
359
- SQL (0.3ms) 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
-  (181.3ms) commit transaction
361
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
362
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1
363
-  (0.0ms) begin transaction
364
- SQL (0.6ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
365
- SQL (0.2ms) 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
- SQL (0.1ms) 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", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 15:00:01 UTC +00:00]]
367
-  (206.4ms) commit transaction
368
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
369
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1
370
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 18 LIMIT 1
371
- FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
372
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 17 LIMIT 1
373
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 18 LIMIT 1
374
- Article Load (0.1ms) SELECT "articles".* FROM "articles" 
375
-  (0.0ms) begin transaction
376
- SQL (0.1ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 17]]
377
-  (161.2ms) commit transaction
378
-  (0.1ms) begin transaction
379
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 18]]
380
-  (144.3ms) commit transaction
381
- FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
382
-  (0.1ms) begin transaction
383
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 24]]
384
-  (266.0ms) commit transaction
282
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
283
+  (143.0ms) commit transaction
385
284
   (0.1ms) begin transaction
386
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 25]]
387
-  (155.4ms) commit transaction
285
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 4]]
286
+  (143.8ms) commit transaction
388
287
   (0.1ms) begin transaction
389
- SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 26]]
390
-  (199.9ms) commit transaction
288
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
289
+  (155.3ms) commit transaction
391
290
   (0.1ms) begin transaction
392
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 27]]
393
-  (177.5ms) commit transaction
291
+ SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 6]]
292
+  (154.9ms) commit transaction
394
293
  Connecting to database specified by database.yml
395
294
  Article Load (0.1ms) SELECT "articles".* FROM "articles" 
396
295
  FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
397
296
  Article Load (0.1ms) SELECT "articles".* FROM "articles" 
398
297
  FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers"
399
298
   (0.1ms) begin transaction
400
- SQL (3.9ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00]]
401
- SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00], ["entity_id", 19], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00]]
402
-  (198.4ms) commit transaction
299
+ SQL (3.9ms) 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
+ SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (316.4ms) commit transaction
403
302
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
404
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1
303
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
405
304
   (0.1ms) begin transaction
406
- SQL (0.4ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00], ["image_id", nil], ["path", "img1.jpg"], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00]]
407
- SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00], ["entity_id", 20], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:36 UTC +00:00]]
408
-  (188.6ms) commit transaction
409
- FileManager Load (0.4ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
410
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1
411
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 20 LIMIT 1
305
+ SQL (0.4ms) 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
+ SQL (0.2ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (188.8ms) commit transaction
308
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
309
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
310
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
412
311
  FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
413
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1
414
- Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 20 LIMIT 1
415
- Article Load (0.1ms) SELECT "articles".* FROM "articles" 
312
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
313
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
314
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" 
416
315
   (0.1ms) begin transaction
417
- SQL (0.4ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 19]]
418
-  (168.6ms) commit transaction
316
+ SQL (0.4ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 1]]
317
+  (166.7ms) commit transaction
419
318
   (0.1ms) begin transaction
420
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 20]]
421
-  (144.0ms) commit transaction
422
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
423
-  (0.0ms) begin transaction
424
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 28]]
425
-  (187.6ms) commit transaction
319
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 2]]
320
+  (154.9ms) commit transaction
321
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
322
+  (0.1ms) begin transaction
323
+ SQL (0.5ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 1]]
324
+  (174.6ms) commit transaction
426
325
   (0.1ms) begin transaction
427
- SQL (0.4ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 29]]
428
-  (189.7ms) commit transaction
326
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 2]]
327
+  (176.9ms) commit transaction
429
328
   (0.1ms) begin transaction
430
- SQL (1.4ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img2.jpg"]], ["title", "Título"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
431
- SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["entity_id", 21], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
432
- SQL (0.3ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["entity_id", 21], ["entity_type", "Article"], ["file", "img2.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
433
-  (181.7ms) commit transaction
329
+ SQL (1.3ms) 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
+ SQL (0.2ms) 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", "img1.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
331
+ SQL (0.1ms) 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
+  (173.2ms) commit transaction
434
333
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
435
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 21 LIMIT 1
334
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
436
335
   (0.1ms) begin transaction
437
- SQL (0.9ms) INSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["image_id", nil], ["path", ["img1.jpg", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
438
- SQL (0.4ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["entity_id", 22], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
439
- SQL (0.3ms) INSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00], ["entity_id", 22], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 15:02:37 UTC +00:00]]
440
-  (178.6ms) commit transaction
336
+ SQL (0.8ms) 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", "img3.jpg"]], ["title", "Título 2"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
337
+ SQL (0.4ms) 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
+ SQL (0.3ms) 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", "img3.jpg"], ["updated_at", Wed, 26 Sep 2012 14:03:29 UTC +00:00]]
339
+  (157.8ms) commit transaction
441
340
  FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
442
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 21 LIMIT 1
443
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 22 LIMIT 1
444
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
445
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 21 LIMIT 1
446
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 22 LIMIT 1
447
- Article Load (0.2ms) SELECT "articles".* FROM "articles" 
448
-  (0.1ms) begin transaction
449
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 21]]
450
-  (135.4ms) commit transaction
341
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
342
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
343
+ FileManager Load (0.1ms) SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
344
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
345
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 4 LIMIT 1
346
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" 
347
+  (0.0ms) begin transaction
348
+ SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 3]]
349
+  (226.9ms) commit transaction
451
350
   (0.1ms) begin transaction
452
- SQL (0.2ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 22]]
453
-  (133.3ms) commit transaction
454
- FileManager Load (0.2ms) SELECT "file_managers".* FROM "file_managers"
455
-  (0.0ms) begin transaction
456
- SQL (0.1ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 30]]
457
-  (155.1ms) commit transaction
351
+ SQL (0.3ms) DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
352
+  (132.7ms) commit transaction
353
+ FileManager Load (0.3ms) SELECT "file_managers".* FROM "file_managers"
354
+  (0.1ms) begin transaction
355
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 3]]
356
+  (164.5ms) commit transaction
458
357
   (0.1ms) begin transaction
459
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 31]]
460
-  (188.6ms) commit transaction
358
+ SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 4]]
359
+  (177.2ms) commit transaction
461
360
   (0.1ms) begin transaction
462
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 32]]
463
-  (188.4ms) commit transaction
361
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 5]]
362
+  (155.8ms) commit transaction
464
363
   (0.1ms) begin transaction
465
- SQL (0.3ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 33]]
466
-  (166.1ms) commit transaction
364
+ SQL (0.2ms) DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 6]]
365
+  (155.7ms) commit transaction