file_manager_engine 0.0.1
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 +21 -0
- data/Gemfile +17 -0
- data/MIT-LICENSE +20 -0
- data/README.md +27 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/models/.gitkeep +0 -0
- data/app/models/file_manager.rb +26 -0
- data/app/views/.gitkeep +0 -0
- data/db/migrate/20120924142907_create_file_manager.rb +13 -0
- data/file_manager_engine.gemspec +24 -0
- data/lib/file_manager_engine/engine.rb +5 -0
- data/lib/file_manager_engine/version.rb +3 -0
- data/lib/file_manager_engine.rb +40 -0
- data/lib/tasks/file_manager_engine_tasks.rake +4 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +14 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/app/models/article.rb +12 -0
- data/spec/dummy/app/models/gallery.rb +3 -0
- data/spec/dummy/app/models/image.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +20 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120924145423_create_images.rb +10 -0
- data/spec/dummy/db/migrate/20120924150641_create_articles.rb +11 -0
- data/spec/dummy/db/migrate/20120924151353_create_galleries.rb +10 -0
- data/spec/dummy/db/migrate/20120925140600_create_file_manager.file_manager_engine.rb +14 -0
- data/spec/dummy/db/schema.rb +50 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/dummy/log/development.log +126 -0
- data/spec/dummy/log/test.log +466 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/file_manager_engine_spec.rb +24 -0
- data/spec/spec_helper.rb +7 -0
- metadata +183 -0
|
@@ -0,0 +1,466 @@
|
|
|
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
|
+
[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
|
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
52
|
+
[1m[35mSQL (3.8ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (193.2ms)[0m commit transaction
|
|
55
|
+
[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
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
|
88
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
89
|
+
[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: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
|
+
[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: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
|
+
[1m[35m (154.1ms)[0m commit transaction
|
|
92
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
93
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
|
94
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
|
95
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
96
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1[0m
|
|
97
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1
|
|
98
|
+
Connecting to database specified by database.yml
|
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
100
|
+
[1m[35mSQL (4.4ms)[0m 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
|
+
[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: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
|
+
[1m[35m (350.5ms)[0m commit transaction
|
|
103
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
104
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 1 LIMIT 1
|
|
105
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 2 LIMIT 1[0m
|
|
106
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1
|
|
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
|
|
115
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 3 LIMIT 1[0m
|
|
116
|
+
[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
|
+
[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
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
136
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 3]]
|
|
137
|
+
[1m[35m (132.7ms)[0m commit transaction
|
|
138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
139
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 4]]
|
|
140
|
+
[1m[36m (132.9ms)[0m [1mcommit transaction[0m
|
|
141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
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
|
|
148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
149
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 2]]
|
|
150
|
+
[1m[36m (188.4ms)[0m [1mcommit transaction[0m
|
|
151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
152
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 3]]
|
|
153
|
+
[1m[35m (211.1ms)[0m commit transaction
|
|
154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
155
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 4]]
|
|
156
|
+
[1m[36m (154.8ms)[0m [1mcommit transaction[0m
|
|
157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
158
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 5]]
|
|
159
|
+
[1m[35m (155.1ms)[0m commit transaction
|
|
160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
161
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 6]]
|
|
162
|
+
[1m[36m (155.2ms)[0m [1mcommit transaction[0m
|
|
163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
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
|
|
168
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
169
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
|
|
170
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
171
|
+
[1m[35mSQL (0.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: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
|
+
[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: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
|
+
[1m[35mSQL (0.1ms)[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", 7], ["entity_type", "Article"], ["file", "img3.jpg"], ["updated_at", Tue, 25 Sep 2012 14:52:52 UTC +00:00]]
|
|
174
|
+
[1m[36m (181.2ms)[0m [1mcommit transaction[0m
|
|
175
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
176
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1[0m
|
|
177
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 7 LIMIT 1
|
|
178
|
+
[1m[36mFileManager Load (0.1ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
179
|
+
[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" WHERE "articles"."id" = 7 LIMIT 1[0m
|
|
181
|
+
Connecting to database specified by database.yml
|
|
182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
183
|
+
[1m[35mSQL (4.0ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (322.4ms)[0m commit transaction
|
|
186
|
+
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
187
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 6 LIMIT 1
|
|
188
|
+
[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
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
192
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 6]]
|
|
193
|
+
[1m[35m (130.2ms)[0m commit transaction
|
|
194
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
195
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 7]]
|
|
196
|
+
[1m[36m (210.8ms)[0m [1mcommit transaction[0m
|
|
197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
198
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 8]]
|
|
199
|
+
[1m[35m (166.3ms)[0m commit transaction
|
|
200
|
+
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" [0m
|
|
201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
202
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 7]]
|
|
203
|
+
[1m[35m (163.2ms)[0m commit transaction
|
|
204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
205
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 8]]
|
|
206
|
+
[1m[36m (178.6ms)[0m [1mcommit transaction[0m
|
|
207
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
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
|
|
210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
211
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 10]]
|
|
212
|
+
[1m[36m (177.3ms)[0m [1mcommit transaction[0m
|
|
213
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
214
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 11]]
|
|
215
|
+
[1m[35m (155.1ms)[0m commit transaction
|
|
216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
217
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[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
|
|
223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
224
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[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", 10], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:07 UTC +00:00]]
|
|
226
|
+
[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: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
|
+
[1m[35m (179.7ms)[0m commit transaction
|
|
228
|
+
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
229
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1
|
|
230
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 10 LIMIT 1[0m
|
|
231
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
232
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1[0m
|
|
233
|
+
[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
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
236
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
237
|
+
[1m[36mSQL (3.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 9]]
|
|
238
|
+
[1m[35m (180.5ms)[0m commit transaction
|
|
239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
240
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 10]]
|
|
241
|
+
[1m[36m (155.4ms)[0m [1mcommit transaction[0m
|
|
242
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
244
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 12]]
|
|
245
|
+
[1m[36m (175.8ms)[0m [1mcommit transaction[0m
|
|
246
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
247
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 13]]
|
|
248
|
+
[1m[35m (153.9ms)[0m commit transaction
|
|
249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
250
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 14]]
|
|
251
|
+
[1m[36m (155.0ms)[0m [1mcommit transaction[0m
|
|
252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
253
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 15]]
|
|
254
|
+
[1m[35m (188.7ms)[0m commit transaction
|
|
255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
256
|
+
[1m[35mSQL (2.2ms)[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"], ["updated_at", Tue, 25 Sep 2012 14:53:18 UTC +00:00]]
|
|
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
|
|
265
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
266
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1
|
|
267
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1[0m
|
|
268
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
269
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1[0m
|
|
270
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1
|
|
271
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
273
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 11]]
|
|
274
|
+
[1m[35m (156.2ms)[0m commit transaction
|
|
275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
276
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 12]]
|
|
277
|
+
[1m[36m (157.0ms)[0m [1mcommit transaction[0m
|
|
278
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
280
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 16]]
|
|
281
|
+
[1m[36m (154.2ms)[0m [1mcommit transaction[0m
|
|
282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
283
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 17]]
|
|
284
|
+
[1m[35m (155.4ms)[0m commit transaction
|
|
285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
286
|
+
[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: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
|
+
[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: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
|
+
[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
|
|
292
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
293
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[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", 14], ["entity_type", "Article"], ["file", "img1.jpg"], ["updated_at", Tue, 25 Sep 2012 14:53:19 UTC +00:00]]
|
|
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
|
|
303
|
+
Connecting to database specified by database.yml
|
|
304
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
306
|
+
[1m[36mSQL (3.1ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 13]]
|
|
307
|
+
[1m[35m (175.0ms)[0m commit transaction
|
|
308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
309
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 14]]
|
|
310
|
+
[1m[36m (153.7ms)[0m [1mcommit transaction[0m
|
|
311
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
313
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 18]]
|
|
314
|
+
[1m[36m (162.0ms)[0m [1mcommit transaction[0m
|
|
315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
316
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 19]]
|
|
317
|
+
[1m[35m (177.9ms)[0m commit transaction
|
|
318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
319
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 20]]
|
|
320
|
+
[1m[36m (155.2ms)[0m [1mcommit transaction[0m
|
|
321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
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"
|
|
326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
327
|
+
[1m[35mSQL (2.0ms)[0m 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
|
+
[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 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
|
+
[1m[35m (188.5ms)[0m commit transaction
|
|
330
|
+
[1m[36mFileManager Load (0.2ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
331
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 15 LIMIT 1
|
|
332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
333
|
+
[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 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
|
+
[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 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
|
+
[1m[35m (183.8ms)[0m commit transaction
|
|
336
|
+
[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" = 15 LIMIT 1
|
|
338
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 16 LIMIT 1[0m
|
|
339
|
+
[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" = 15 LIMIT 1[0m
|
|
341
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 16 LIMIT 1
|
|
342
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
344
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 15]]
|
|
345
|
+
[1m[35m (155.9ms)[0m commit transaction
|
|
346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
347
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 16]]
|
|
348
|
+
[1m[36m (144.1ms)[0m [1mcommit transaction[0m
|
|
349
|
+
[1m[35mFileManager Load (0.3ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
351
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 22]]
|
|
352
|
+
[1m[36m (287.6ms)[0m [1mcommit transaction[0m
|
|
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
|
|
385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 25]]
|
|
387
|
+
[1m[35m (155.4ms)[0m commit transaction
|
|
388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
389
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 26]]
|
|
390
|
+
[1m[36m (199.9ms)[0m [1mcommit transaction[0m
|
|
391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
392
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 27]]
|
|
393
|
+
[1m[35m (177.5ms)[0m commit transaction
|
|
394
|
+
Connecting to database specified by database.yml
|
|
395
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
396
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
397
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
398
|
+
[1m[35mFileManager Load (0.1ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
399
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
400
|
+
[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 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (198.4ms)[0m commit transaction
|
|
403
|
+
[1m[36mFileManager Load (0.3ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
404
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1
|
|
405
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
406
|
+
[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 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
|
+
[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 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
|
+
[1m[35m (188.6ms)[0m commit transaction
|
|
409
|
+
[1m[36mFileManager Load (0.4ms)[0m [1mSELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'[0m
|
|
410
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1
|
|
411
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 20 LIMIT 1[0m
|
|
412
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
413
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 19 LIMIT 1[0m
|
|
414
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 20 LIMIT 1
|
|
415
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
417
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 19]]
|
|
418
|
+
[1m[35m (168.6ms)[0m commit transaction
|
|
419
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
420
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 20]]
|
|
421
|
+
[1m[36m (144.0ms)[0m [1mcommit transaction[0m
|
|
422
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
424
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 28]]
|
|
425
|
+
[1m[36m (187.6ms)[0m [1mcommit transaction[0m
|
|
426
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
427
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 29]]
|
|
428
|
+
[1m[35m (189.7ms)[0m commit transaction
|
|
429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
430
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "file_managers" ("created_at", "entity_id", "entity_type", "file", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[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: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
|
+
[1m[36m (181.7ms)[0m [1mcommit transaction[0m
|
|
434
|
+
[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" = 21 LIMIT 1[0m
|
|
436
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
437
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "articles" ("body", "created_at", "image_id", "path", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[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 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
|
+
[1m[35m (178.6ms)[0m commit transaction
|
|
441
|
+
[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" = 21 LIMIT 1
|
|
443
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 22 LIMIT 1[0m
|
|
444
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers" WHERE "file_managers"."file" = 'img1.jpg'
|
|
445
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = 21 LIMIT 1[0m
|
|
446
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = 22 LIMIT 1
|
|
447
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" [0m
|
|
448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
449
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "articles" WHERE "articles"."id" = ?[0m [["id", 21]]
|
|
450
|
+
[1m[35m (135.4ms)[0m commit transaction
|
|
451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
452
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "articles" WHERE "articles"."id" = ? [["id", 22]]
|
|
453
|
+
[1m[36m (133.3ms)[0m [1mcommit transaction[0m
|
|
454
|
+
[1m[35mFileManager Load (0.2ms)[0m SELECT "file_managers".* FROM "file_managers"
|
|
455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
456
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 30]]
|
|
457
|
+
[1m[36m (155.1ms)[0m [1mcommit transaction[0m
|
|
458
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
459
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 31]]
|
|
460
|
+
[1m[35m (188.6ms)[0m commit transaction
|
|
461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
462
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "file_managers" WHERE "file_managers"."id" = ? [["id", 32]]
|
|
463
|
+
[1m[36m (188.4ms)[0m [1mcommit transaction[0m
|
|
464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
465
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "file_managers" WHERE "file_managers"."id" = ?[0m [["id", 33]]
|
|
466
|
+
[1m[35m (166.1ms)[0m commit transaction
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/404.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/422.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
24
|
+
</div>
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
+
div.dialog {
|
|
8
|
+
width: 25em;
|
|
9
|
+
padding: 0 4em;
|
|
10
|
+
margin: 4em auto 0 auto;
|
|
11
|
+
border: 1px solid #ccc;
|
|
12
|
+
border-right-color: #999;
|
|
13
|
+
border-bottom-color: #999;
|
|
14
|
+
}
|
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<!-- This file lives in public/500.html -->
|
|
21
|
+
<div class="dialog">
|
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
23
|
+
</div>
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
+
|
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
+
require 'rails/commands'
|