page_parts 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +12 -4
- data/lib/page_parts/{active_record_extension.rb → extension.rb} +1 -2
- data/{app/models → lib/page_parts/models/active_record}/page_part.rb +1 -1
- data/lib/page_parts/models/mongoid/page_part.rb +20 -0
- data/lib/page_parts/orm/active_record.rb +2 -0
- data/lib/page_parts/orm/mongoid.rb +2 -0
- data/lib/page_parts/version.rb +1 -1
- data/lib/page_parts.rb +3 -1
- data/test/dummy/app/models/category.rb +1 -1
- data/test/dummy/app/models/post.rb +1 -1
- data/test/dummy/config/database.yml +1 -23
- data/test/dummy/config/initializers/page_parts.rb +2 -0
- data/test/dummy/db/page_parts_test.db +0 -0
- data/test/dummy/log/test.log +67 -836
- metadata +106 -59
- data/test/dummy/log/development.log +0 -0
data/test/dummy/log/test.log
CHANGED
@@ -1,853 +1,84 @@
|
|
1
1
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
-
[1m[35m (
|
2
|
+
[1m[35m (155.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
-
[1m[35m (
|
4
|
+
[1m[35m (79.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
5
|
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
6
|
Migrating to CreatePageParts (20111226144515)
|
7
|
-
[1m[35m (
|
7
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(10) NOT NULL, "content" text, "partable_id" integer NOT NULL, "partable_type" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime)
|
8
8
|
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("page_parts")[0m
|
9
|
-
[1m[35m (0.
|
9
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_page_parts_on_key" ON "page_parts" ("key")
|
10
10
|
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("page_parts")[0m
|
11
11
|
[1m[35m (0.1ms)[0m PRAGMA index_info('index_page_parts_on_key')
|
12
|
-
[1m[36m (0.
|
13
|
-
[1m[35m (0.
|
14
|
-
[1m[36m (0.
|
15
|
-
Migrating to
|
16
|
-
[1m[
|
17
|
-
|
18
|
-
|
19
|
-
|
12
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_page_parts_on_partable_type_and_partable_id" ON "page_parts" ("partable_type", "partable_id")[0m
|
13
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111226144515')
|
14
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15
|
+
Migrating to CreateCategories (20111226131910)
|
16
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
17
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111226131910')[0m
|
18
|
+
Migrating to CreatePosts (20120124093705)
|
19
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_visible" boolean, "created_at" datetime, "updated_at" datetime)
|
20
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120124093705')[0m
|
20
21
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21
|
-
[1m[36m (0.
|
22
|
-
[1m[
|
23
|
-
[1m[
|
24
|
-
[1m[
|
25
|
-
[1m[
|
26
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1
|
27
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:17:06 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", 1], ["updated_at", Mon, 26 Dec 2011 13:17:06 UTC +00:00]]
|
22
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
23
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
24
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
25
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
26
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Main"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
28
27
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
29
|
-
[1m[
|
30
|
-
[1m[
|
31
|
-
|
32
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
33
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
34
|
-
[1m[35mSQL (1.4ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 13:18:11 UTC +00:00], ["key", "main"], ["partable_id", 1], ["partable_type", 1], ["updated_at", Mon, 26 Dec 2011 13:18:11 UTC +00:00]]
|
35
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
36
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
37
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1
|
39
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:18:11 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", 1], ["updated_at", Mon, 26 Dec 2011 13:18:11 UTC +00:00]]
|
40
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
42
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
43
|
-
Migrating to CreatePageParts (20111226144515)
|
28
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
29
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'
|
30
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
44
31
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45
|
-
[1m[36m (0.
|
46
|
-
[1m[
|
47
|
-
[1m[
|
48
|
-
[1m[
|
49
|
-
[1m[
|
50
|
-
[1m[35m (0.1ms)[0m
|
51
|
-
[1m[
|
52
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
53
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
54
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
55
|
-
Migrating to CreatePageParts (20111226144515)
|
56
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
57
|
-
Migrating to CreateCategories (20111226131910)
|
58
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
59
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
60
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111226131910')[0m
|
32
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
33
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
34
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
35
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
36
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
37
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
61
39
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
62
|
-
[1m[36m (0.
|
63
|
-
[1m[
|
64
|
-
[1m[
|
65
|
-
[1m[
|
66
|
-
[1m[
|
67
|
-
[1m[35m (0.1ms)[0m
|
68
|
-
[1m[
|
69
|
-
[1m[
|
70
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 1 AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
71
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
72
|
-
Migrating to CreatePageParts (20111226144515)
|
73
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
74
|
-
Migrating to CreateCategories (20111226131910)
|
75
|
-
WARNING: Can't mass-assign protected attributes: partable_type, partable_id
|
76
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
78
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:49:01 UTC +00:00], ["key", "main"], ["partable_id", nil], ["partable_type", nil], ["updated_at", Mon, 26 Dec 2011 13:49:01 UTC +00:00]]
|
79
|
-
SQLite3::ConstraintException: constraint failed: INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
|
80
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
81
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
82
|
-
WARNING: Can't mass-assign protected attributes: partable_type, partable_id
|
83
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
84
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
85
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 13:49:01 UTC +00:00], ["key", "test"], ["partable_id", nil], ["partable_type", nil], ["updated_at", Mon, 26 Dec 2011 13:49:01 UTC +00:00]]
|
86
|
-
SQLite3::ConstraintException: constraint failed: INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
|
87
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
89
|
-
Migrating to CreatePageParts (20111226144515)
|
90
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
91
|
-
Migrating to CreateCategories (20111226131910)
|
92
|
-
WARNING: Can't mass-assign protected attributes: partable_type, partable_id
|
93
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
94
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
95
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:50:30 UTC +00:00], ["key", "main"], ["partable_id", nil], ["partable_type", nil], ["updated_at", Mon, 26 Dec 2011 13:50:30 UTC +00:00]]
|
96
|
-
SQLite3::ConstraintException: constraint failed: INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
|
97
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
98
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
99
|
-
WARNING: Can't mass-assign protected attributes: partable_type, partable_id
|
100
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
101
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" IS NULL AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
102
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 13:50:30 UTC +00:00], ["key", "test"], ["partable_id", nil], ["partable_type", nil], ["updated_at", Mon, 26 Dec 2011 13:50:30 UTC +00:00]]
|
103
|
-
SQLite3::ConstraintException: constraint failed: INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)
|
104
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
105
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
106
|
-
Migrating to CreatePageParts (20111226144515)
|
107
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
108
|
-
Migrating to CreateCategories (20111226131910)
|
109
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
110
|
-
Migrating to CreatePageParts (20111226144515)
|
111
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
112
|
-
Migrating to CreateCategories (20111226131910)
|
113
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
114
|
-
Migrating to CreatePageParts (20111226144515)
|
115
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
116
|
-
Migrating to CreateCategories (20111226131910)
|
117
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
118
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
119
|
-
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:55:15 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 13:55:15 UTC +00:00]]
|
120
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
121
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
122
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 13:55:15 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 13:55:15 UTC +00:00]]
|
123
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
124
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
125
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
126
|
-
Migrating to CreatePageParts (20111226144515)
|
127
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
128
|
-
Migrating to CreateCategories (20111226131910)
|
129
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
130
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
131
|
-
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:55:36 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 13:55:36 UTC +00:00]]
|
132
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
133
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
134
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
135
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 13:55:36 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 13:55:36 UTC +00:00]]
|
136
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
138
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
139
|
-
Migrating to CreatePageParts (20111226144515)
|
140
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
141
|
-
Migrating to CreateCategories (20111226131910)
|
142
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
143
|
-
Migrating to CreatePageParts (20111226144515)
|
144
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
145
|
-
Migrating to CreateCategories (20111226131910)
|
40
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
41
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
42
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
43
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
44
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Main"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
45
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
46
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
47
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'
|
146
48
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
147
|
-
[1m[35m (0.
|
148
|
-
[1m[
|
149
|
-
[1m[35m (
|
150
|
-
[1m[36m (0.
|
151
|
-
[1m[35m (0.
|
152
|
-
[1m[
|
153
|
-
[1m[
|
154
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
155
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
156
|
-
Migrating to CreatePageParts (20111226144515)
|
157
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
158
|
-
Migrating to CreateCategories (20111226131910)
|
159
|
-
[1m[36mPagePart Load (0.3ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
160
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
161
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
162
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:03:24 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:03:24 UTC +00:00]]
|
163
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
164
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
165
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:03:24 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:03:24 UTC +00:00]]
|
167
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
168
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
169
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
170
|
-
Migrating to CreatePageParts (20111226144515)
|
171
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
172
|
-
Migrating to CreateCategories (20111226131910)
|
173
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
174
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
175
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
176
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
177
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
178
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
179
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
180
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
181
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:04:09 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:04:09 UTC +00:00]]
|
182
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
183
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
184
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
185
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:04:09 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:04:09 UTC +00:00]]
|
186
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
187
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
188
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
189
|
-
Migrating to CreatePageParts (20111226144515)
|
190
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
191
|
-
Migrating to CreateCategories (20111226131910)
|
192
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
193
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
194
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
195
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
196
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
197
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
198
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
199
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
200
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:05:05 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:05:05 UTC +00:00]]
|
201
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
202
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
203
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
204
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:05:05 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:05:05 UTC +00:00]]
|
205
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
206
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
207
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
208
|
-
Migrating to CreatePageParts (20111226144515)
|
209
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
210
|
-
Migrating to CreateCategories (20111226131910)
|
211
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
212
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
213
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
214
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:06:20 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:06:20 UTC +00:00]]
|
215
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
216
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
217
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
218
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:06:20 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:06:20 UTC +00:00]]
|
219
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
220
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
221
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
222
|
-
Migrating to CreatePageParts (20111226144515)
|
223
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
224
|
-
Migrating to CreateCategories (20111226131910)
|
225
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
226
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
227
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
228
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
229
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
230
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
231
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
232
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
233
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
234
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
235
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:06:47 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:06:47 UTC +00:00]]
|
236
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
237
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
238
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
239
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:06:47 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:06:47 UTC +00:00]]
|
240
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
241
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
242
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
243
|
-
Migrating to CreatePageParts (20111226144515)
|
244
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
245
|
-
Migrating to CreateCategories (20111226131910)
|
246
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
247
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
248
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
249
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
250
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
251
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
252
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
253
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
254
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
255
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
256
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:07:48 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:07:48 UTC +00:00]]
|
257
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
258
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
259
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
260
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:07:48 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:07:48 UTC +00:00]]
|
261
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
262
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
263
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
264
|
-
Migrating to CreatePageParts (20111226144515)
|
265
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
266
|
-
Migrating to CreateCategories (20111226131910)
|
267
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
268
|
-
[1m[35mPagePart Load (0.3ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
269
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
270
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
271
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
272
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
273
|
-
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
274
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
275
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
276
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
277
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:08:30 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:08:30 UTC +00:00]]
|
278
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
279
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
280
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
281
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:08:30 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:08:30 UTC +00:00]]
|
282
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
283
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
284
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
285
|
-
Migrating to CreatePageParts (20111226144515)
|
286
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
287
|
-
Migrating to CreateCategories (20111226131910)
|
288
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
289
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
290
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
291
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
292
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
293
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
294
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
295
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
296
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
297
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
298
|
-
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:01 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:01 UTC +00:00]]
|
299
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
300
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
301
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
302
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:01 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:01 UTC +00:00]]
|
303
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
304
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
305
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
306
|
-
Migrating to CreatePageParts (20111226144515)
|
307
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
308
|
-
Migrating to CreateCategories (20111226131910)
|
309
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
310
|
-
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
311
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
312
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
313
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
314
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
315
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00]]
|
316
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00]]
|
317
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00], ["key", "main"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00]]
|
318
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
319
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
320
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
321
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
322
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00]]
|
323
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
324
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
325
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
326
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:24 UTC +00:00]]
|
327
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
328
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
329
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
330
|
-
Migrating to CreatePageParts (20111226144515)
|
331
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
332
|
-
Migrating to CreateCategories (20111226131910)
|
333
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
334
|
-
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
335
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
336
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
337
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
338
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
339
|
-
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00]]
|
340
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00]]
|
341
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00], ["key", "main"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00]]
|
342
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
343
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
344
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
345
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
346
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00]]
|
347
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
348
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
349
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
350
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:44 UTC +00:00]]
|
351
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
352
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
353
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
354
|
-
Migrating to CreatePageParts (20111226144515)
|
355
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
356
|
-
Migrating to CreateCategories (20111226131910)
|
357
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
358
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'main' LIMIT 1
|
359
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
360
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
361
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
362
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'main' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
363
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00]]
|
364
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00]]
|
365
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00], ["key", "main"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00]]
|
366
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
367
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
368
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
369
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
370
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00]]
|
371
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
372
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
373
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
374
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:10:58 UTC +00:00]]
|
375
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
376
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
377
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
378
|
-
Migrating to CreatePageParts (20111226144515)
|
379
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
380
|
-
Migrating to CreateCategories (20111226131910)
|
381
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
382
|
-
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1
|
383
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
384
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
385
|
-
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:19:37 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:19:37 UTC +00:00]]
|
386
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
387
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
388
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
389
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:19:37 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:19:37 UTC +00:00]]
|
390
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
391
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
392
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
393
|
-
Migrating to CreatePageParts (20111226144515)
|
394
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
395
|
-
Migrating to CreateCategories (20111226131910)
|
396
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
397
|
-
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
398
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
399
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
400
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
401
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
402
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
403
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
404
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
405
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
406
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
407
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
408
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
409
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
410
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
411
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
412
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
413
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
414
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
415
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
416
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
417
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
418
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
419
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
420
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
421
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
422
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
423
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Mon, 26 Dec 2011 14:20:13 UTC +00:00]]
|
424
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
425
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
426
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
427
|
-
Migrating to CreatePageParts (20111226144515)
|
428
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
429
|
-
Migrating to CreateCategories (20111226131910)
|
49
|
+
[1m[35m (0.3ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."id" != 1 AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
50
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."id" != 2 AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
51
|
+
[1m[35m (15.7ms)[0m UPDATE "page_parts" SET "content" = 'Sidebar 2', "updated_at" = '2013-01-04 16:37:46.211725' WHERE "page_parts"."id" = 1
|
52
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "page_parts" SET "content" = 'Main 2', "updated_at" = '2013-01-04 16:37:46.230063' WHERE "page_parts"."id" = 2[0m
|
53
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
54
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
55
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'
|
430
56
|
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
431
57
|
[1m[35m (0.3ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
432
|
-
[1m[36mSQL (
|
58
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
433
59
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
434
|
-
[1m[36m (0.
|
60
|
+
[1m[36m (0.4ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
435
61
|
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
436
|
-
[1m[36mSQL (
|
62
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
437
63
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
438
|
-
[1m[36m (0.
|
439
|
-
[1m[
|
440
|
-
|
441
|
-
[1m[35m (0.
|
442
|
-
|
443
|
-
[1m[
|
444
|
-
[1m[
|
445
|
-
[1m[
|
446
|
-
[1m[
|
447
|
-
[1m[
|
448
|
-
[1m[
|
449
|
-
[1m[
|
450
|
-
[1m[
|
451
|
-
[1m[
|
452
|
-
[1m[36m (0.
|
453
|
-
|
454
|
-
[1m[
|
455
|
-
|
456
|
-
[1m[
|
457
|
-
[1m[35m (0.
|
458
|
-
[1m[
|
459
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
460
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
461
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
462
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:32:40 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:32:40 UTC +00:00]]
|
463
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
464
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
465
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
466
|
-
Migrating to CreatePageParts (20111226144515)
|
467
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
468
|
-
Migrating to CreateCategories (20111226131910)
|
469
|
-
[1m[36mPagePart Load (0.3ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
470
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
471
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
472
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
473
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
474
|
-
[1m[35mSQL (22.8ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
475
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
476
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
477
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
478
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
479
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
480
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
481
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
482
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
483
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
484
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
485
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
486
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
487
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
488
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
489
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
490
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
491
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
492
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
493
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
494
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
495
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
496
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:11 UTC +00:00]]
|
497
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
498
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
499
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
500
|
-
Migrating to CreatePageParts (20111226144515)
|
501
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
502
|
-
Migrating to CreateCategories (20111226131910)
|
503
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
504
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
505
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
506
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
507
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
508
|
-
[1m[35mSQL (22.6ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
509
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
510
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
511
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
512
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
513
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
514
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
515
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
516
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
517
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
518
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
519
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
520
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
521
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
522
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
523
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
524
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
525
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
526
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
527
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
528
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
529
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
530
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:33:31 UTC +00:00]]
|
531
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
532
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
533
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
534
|
-
Migrating to CreatePageParts (20111226144515)
|
535
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
536
|
-
Migrating to CreateCategories (20111226131910)
|
537
|
-
Migrating to CreatePosts (20120124093705)
|
538
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
539
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_visible" boolean, "created_at" datetime, "updated_at" datetime)
|
540
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120124093705')[0m
|
541
|
-
[1m[35mPagePart Load (0.2ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1
|
542
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1[0m
|
543
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
544
|
-
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
545
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
546
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
547
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
548
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
549
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
550
|
-
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", 1]]
|
551
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1
|
552
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1[0m
|
553
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
554
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
555
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
556
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
557
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
558
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
559
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
560
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
561
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
562
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
563
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
564
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
565
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
566
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
567
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
568
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:42:27 UTC +00:00]]
|
569
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
570
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
571
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
572
|
-
Migrating to CreatePageParts (20111226144515)
|
573
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
574
|
-
Migrating to CreateCategories (20111226131910)
|
575
|
-
Migrating to CreatePosts (20120124093705)
|
576
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
577
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
578
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
579
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
580
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
581
|
-
[1m[35mSQL (1.3ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
582
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
583
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
584
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
585
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
586
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
587
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
588
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
589
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
590
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
591
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
592
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
593
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
594
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
595
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
596
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
597
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
598
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
599
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
600
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
601
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
602
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
603
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:43:40 UTC +00:00]]
|
604
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
605
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
606
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
607
|
-
Migrating to CreatePageParts (20111226144515)
|
608
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
609
|
-
Migrating to CreateCategories (20111226131910)
|
610
|
-
Migrating to CreatePosts (20120124093705)
|
611
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
612
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
613
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
614
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
615
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
616
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
617
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
618
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
619
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
620
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
621
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
622
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
623
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
624
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
625
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
626
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
627
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
628
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
629
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
630
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
631
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
632
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
633
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
634
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
635
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
636
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
637
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
638
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
639
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
640
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
641
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
642
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1
|
643
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
644
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
645
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
646
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
647
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
648
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
649
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
650
|
-
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
|
651
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
652
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_en' LIMIT 1
|
653
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1[0m
|
654
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
655
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
656
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
657
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_en' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
658
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
659
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
660
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Title ru"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
661
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Title en"], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "title_en"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
662
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:44:52 UTC +00:00]]
|
663
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
664
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
665
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
666
|
-
Migrating to CreatePageParts (20111226144515)
|
667
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
668
|
-
Migrating to CreateCategories (20111226131910)
|
669
|
-
Migrating to CreatePosts (20120124093705)
|
670
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
671
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
672
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
674
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
675
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
676
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
677
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
678
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
680
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
681
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
682
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
683
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
684
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
685
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
686
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
687
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
688
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
689
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
690
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
691
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
692
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
693
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
694
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
695
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
696
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
697
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
698
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
699
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
700
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
701
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1
|
702
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
703
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
704
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
705
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
706
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
707
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
708
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
709
|
-
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
|
710
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
711
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_en' LIMIT 1
|
712
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1[0m
|
713
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
714
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
716
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_en' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
717
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
718
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
719
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Title ru"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
720
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Title en"], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "title_en"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
721
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:04 UTC +00:00]]
|
722
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
723
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
724
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
725
|
-
Migrating to CreatePageParts (20111226144515)
|
726
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
727
|
-
Migrating to CreateCategories (20111226131910)
|
728
|
-
Migrating to CreatePosts (20120124093705)
|
729
|
-
[1m[36mPagePart Load (0.2ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
730
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
731
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
732
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
733
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
734
|
-
[1m[35mSQL (1.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
735
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
736
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
737
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
738
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
739
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'sidebar' LIMIT 1[0m
|
740
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Category' AND "page_parts"."key" = 'content' LIMIT 1
|
741
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
742
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
743
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
744
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
745
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["title", "Test category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
746
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar content"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
747
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
748
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
749
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
750
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
751
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
752
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
753
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
754
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
755
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
756
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
757
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
758
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
759
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
760
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_uk' LIMIT 1
|
761
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
762
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
763
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_uk' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
764
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
765
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
766
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "content_uk"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
767
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
768
|
-
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
|
769
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1[0m
|
770
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_en' LIMIT 1
|
771
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_ru' LIMIT 1[0m
|
772
|
-
[1m[35mPagePart Load (0.1ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'title_en' LIMIT 1
|
773
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" IS NULL AND "page_parts"."partable_type" = 'Post' AND "page_parts"."key" = 'content_ru' LIMIT 1[0m
|
774
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
775
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
776
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
777
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_en' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
778
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
779
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["is_visible", true], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
780
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Title ru"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
781
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Title en"], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "title_en"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
782
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Tue, 24 Jan 2012 09:45:43 UTC +00:00]]
|
783
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
784
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
785
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
786
|
-
Migrating to CreatePageParts (20111226144515)
|
787
|
-
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
788
|
-
Migrating to CreateCategories (20111226131910)
|
789
|
-
Migrating to CreatePosts (20120124093705)
|
790
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
791
|
-
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
792
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
793
|
-
[1m[35mSQL (1.1ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["title", "Test category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
794
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
795
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
796
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
797
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
798
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'[0m
|
799
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
800
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
801
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
802
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
803
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["title", "Test category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
804
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar content"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
805
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
806
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
807
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
808
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
810
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
811
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["title", "Test category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
812
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "sidebar"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
813
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "content"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
814
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
815
|
-
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
816
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'[0m
|
817
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'sidebar' AND "page_parts"."id" != 1 AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
819
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content' AND "page_parts"."id" != 2 AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
820
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "page_parts" SET "content" = 'Sidebar 2', "updated_at" = '2012-01-26 12:37:57.392267' WHERE "page_parts"."id" = 1[0m
|
821
|
-
[1m[35m (0.1ms)[0m UPDATE "page_parts" SET "content" = 'Main 2', "updated_at" = '2012-01-26 12:37:57.393314' WHERE "page_parts"."id" = 2
|
822
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
823
|
-
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
824
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Category'[0m
|
825
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
826
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'somekey' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
827
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "somekey"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
828
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
829
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = '' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
830
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
831
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "test"], ["partable_id", 1], ["partable_type", "Category"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
832
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
833
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1
|
834
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
835
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
836
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_uk' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
837
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["is_visible", true], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
838
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Sidebar"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
839
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Main"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "content_uk"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
840
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
841
|
-
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", 1]]
|
842
|
-
[1m[36mPagePart Load (0.1ms)[0m [1mSELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Post'[0m
|
843
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
844
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
845
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
846
|
-
[1m[36m (0.1ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_en' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
847
|
-
[1m[35m (0.1ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
848
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["is_visible", true], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
849
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Title ru"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
850
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Title en"], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "title_en"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
851
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Thu, 26 Jan 2012 12:37:57 UTC +00:00]]
|
852
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
853
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "page_parts"
|
64
|
+
[1m[36m (0.3ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'test' AND "page_parts"."partable_type" = 'Category' AND "page_parts"."partable_id" = 1) LIMIT 1[0m
|
65
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
66
|
+
[1m[36m (0.4ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
67
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_uk' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
68
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["is_visible", true], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
69
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Sidebar"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
70
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Main"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "content_uk"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
71
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
72
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", 1]]
|
73
|
+
[1m[35mPagePart Load (0.4ms)[0m SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."partable_id" = 1 AND "page_parts"."partable_type" = 'Post'
|
74
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|
75
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
77
|
+
[1m[35m (0.2ms)[0m SELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'title_en' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1
|
78
|
+
[1m[36m (0.2ms)[0m [1mSELECT 1 FROM "page_parts" WHERE ("page_parts"."key" = 'content_ru' AND "page_parts"."partable_type" = 'Post' AND "page_parts"."partable_id" IS NULL) LIMIT 1[0m
|
79
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "posts" ("created_at", "is_visible", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["is_visible", true], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
80
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", "Title ru"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "title_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
81
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["content", "Title en"], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "title_en"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
82
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "page_parts" ("content", "created_at", "key", "partable_id", "partable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00], ["key", "content_ru"], ["partable_id", 1], ["partable_type", "Post"], ["updated_at", Fri, 04 Jan 2013 16:37:46 UTC +00:00]]
|
83
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
84
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "page_parts" [0m
|