refinerycms-copywriting 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/app/helpers/refinery/copywriting/copywriting_helper.rb +19 -0
  2. data/lib/refinery/copywriting/engine.rb +1 -2
  3. data/lib/refinery/copywriting.rb +0 -4
  4. data/spec/dummy/README.rdoc +261 -0
  5. data/spec/dummy/Rakefile +7 -0
  6. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  7. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  8. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  9. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  10. data/spec/dummy/app/views/sitemap/index.xml.builder +25 -0
  11. data/spec/dummy/config/application.rb +62 -0
  12. data/spec/dummy/config/boot.rb +6 -0
  13. data/spec/dummy/config/database.yml +18 -0
  14. data/spec/dummy/config/database.yml.mysql +20 -0
  15. data/spec/dummy/config/database.yml.postgresql +58 -0
  16. data/spec/dummy/config/database.yml.sqlite3 +18 -0
  17. data/spec/dummy/config/environment.rb +5 -0
  18. data/spec/dummy/config/environments/development.rb +37 -0
  19. data/spec/dummy/config/environments/production.rb +71 -0
  20. data/spec/dummy/config/environments/test.rb +37 -0
  21. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  22. data/spec/dummy/config/initializers/devise.rb +229 -0
  23. data/spec/dummy/config/initializers/inflections.rb +15 -0
  24. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  25. data/spec/dummy/config/initializers/refinery/core.rb +48 -0
  26. data/spec/dummy/config/initializers/refinery/images.rb +41 -0
  27. data/spec/dummy/config/initializers/refinery/pages.rb +44 -0
  28. data/spec/dummy/config/initializers/refinery/resources.rb +26 -0
  29. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  30. data/spec/dummy/config/initializers/session_store.rb +8 -0
  31. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  32. data/spec/dummy/config/locales/en.yml +5 -0
  33. data/spec/dummy/config/routes.rb +3 -0
  34. data/spec/dummy/config.ru +4 -0
  35. data/spec/dummy/db/migrate/20120416115049_create_copywritings.refinery_copywriting.rb +24 -0
  36. data/spec/dummy/db/migrate/20120416115050_create_copywriting_translation_table.refinery_copywriting.rb +42 -0
  37. data/spec/dummy/db/migrate/20120416115051_add_phrase_type.refinery_copywriting.rb +12 -0
  38. data/spec/dummy/db/migrate/20120416115052_add_refinery_prefix_to_tables.refinery_copywriting.rb +14 -0
  39. data/spec/dummy/db/migrate/20120416115053_add_phrase_last_access_at.refinery_copywriting.rb +12 -0
  40. data/spec/dummy/db/migrate/20120416115054_create_refinerycms_authentication_schema.refinery_authentication.rb +44 -0
  41. data/spec/dummy/db/migrate/20120416115055_create_refinerycms_images_schema.refinery_images.rb +16 -0
  42. data/spec/dummy/db/migrate/20120416115056_create_refinerycms_resources_schema.refinery_resources.rb +14 -0
  43. data/spec/dummy/db/migrate/20120416115057_create_refinerycms_pages_schema.refinery_pages.rb +59 -0
  44. data/spec/dummy/db/migrate/20120416115058_create_seo_meta.seo_meta_engine.rb +24 -0
  45. data/spec/dummy/db/schema.rb +177 -0
  46. data/spec/dummy/db/seeds.rb +10 -0
  47. data/spec/dummy/dummy_dev +0 -0
  48. data/spec/dummy/dummy_test +0 -0
  49. data/spec/dummy/log/development.log +389 -0
  50. data/spec/dummy/log/test.log +1894 -0
  51. data/spec/dummy/public/404.html +26 -0
  52. data/spec/dummy/public/422.html +26 -0
  53. data/spec/dummy/public/500.html +25 -0
  54. data/spec/dummy/public/favicon.ico +0 -0
  55. data/spec/dummy/script/rails +6 -0
  56. data/spec/dummy/tmp/index/development/refinery/page/102_111_117.ind +2 -0
  57. data/spec/dummy/tmp/index/development/refinery/page/104_111_109.ind +0 -0
  58. data/spec/dummy/tmp/index/development/refinery/page/110_111_116.ind +1 -0
  59. data/spec/dummy/tmp/index/development/refinery/page/112_97_103.ind +0 -0
  60. data/spec/dummy/tmp/index/development/refinery/page/97_98_111.ind +0 -0
  61. data/spec/dummy/tmp/index/development/refinery/page/size +1 -0
  62. data/spec/dummy/tmp/index/development/refinery/page/version +1 -0
  63. data/spec/dummy/tmp/index/test/refinery/page/112_97_103.ind +1 -0
  64. data/spec/dummy/tmp/index/test/refinery/page/116_101_115.ind +0 -0
  65. data/spec/dummy/tmp/index/test/refinery/page/size +1 -0
  66. data/spec/dummy/tmp/index/test/refinery/page/version +1 -0
  67. data/spec/helpers/copywriting_helper_spec.rb +8 -8
  68. metadata +65 -3
  69. data/app/helpers/copywriting_helper.rb +0 -16
  70. data/lib/tasks/rspec.rake +0 -4
@@ -0,0 +1,389 @@
1
+  (0.1ms) select sqlite_version(*)
2
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
+ Migrating to CreateCopywritings (20120416115049)
7
+  (0.0ms) begin transaction
8
+  (0.4ms) CREATE TABLE "copywriting_phrases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "default" text, "value" text, "scope" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
9
+  (0.0ms) PRAGMA index_list("copywriting_phrases")
10
+  (0.1ms) CREATE INDEX "index_copywriting_phrases_on_name_and_scope" ON "copywriting_phrases" ("name", "scope")
11
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115049')
12
+  (1.1ms) commit transaction
13
+ Migrating to CreateCopywritingTranslationTable (20120416115050)
14
+  (0.0ms) begin transaction
15
+  (0.4ms) CREATE TABLE "copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
16
+ Scoped order and limit are ignored, it's forced to be batch order and batch size
17
+ Refinery::Copywriting::Phrase Load (0.1ms) SELECT "copywriting_phrases".* FROM "copywriting_phrases" WHERE ("copywriting_phrases"."id" >= 0) ORDER BY "copywriting_phrases"."id" ASC LIMIT 1000
18
+  (0.0ms) PRAGMA index_list("copywriting_phrase_translations")
19
+  (0.1ms) CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "copywriting_phrase_translations" ("copywriting_phrase_id")
20
+  (0.0ms) PRAGMA index_list("copywriting_phrase_translations")
21
+  (0.0ms) PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
22
+  (0.1ms) CREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "copywriting_phrase_translations" ("locale")
23
+  (0.5ms) CREATE TEMPORARY TABLE "altered_copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
24
+  (0.0ms) PRAGMA index_list("copywriting_phrase_translations")
25
+  (0.0ms) PRAGMA index_info('index_copywriting_phrase_translations_on_locale')
26
+  (0.0ms) PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
27
+  (0.0ms) PRAGMA index_list("altered_copywriting_phrase_translations")
28
+  (0.1ms) CREATE INDEX "temp_index_altered_copywriting_phrase_translations_on_locale" ON "altered_copywriting_phrase_translations" ("locale")
29
+  (0.0ms) PRAGMA index_list("altered_copywriting_phrase_translations")
30
+  (0.0ms) PRAGMA index_info('temp_index_altered_copywriting_phrase_translations_on_locale')
31
+  (0.1ms) CREATE INDEX "temp_index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "altered_copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
32
+  (0.0ms) SELECT * FROM "copywriting_phrase_translations"
33
+  (0.4ms) DROP TABLE "copywriting_phrase_translations"
34
+  (0.1ms) CREATE TABLE "copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
35
+  (0.0ms) PRAGMA index_list("altered_copywriting_phrase_translations")
36
+  (0.0ms) PRAGMA index_info('temp_index_c8fbec01a288d0aef8ba987126084c4d06953304')
37
+  (0.0ms) PRAGMA index_info('temp_index_altered_copywriting_phrase_translations_on_locale')
38
+  (0.0ms) PRAGMA index_list("copywriting_phrase_translations")
39
+  (0.1ms) CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
40
+  (0.0ms) PRAGMA index_list("copywriting_phrase_translations")
41
+  (0.0ms) PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
42
+  (0.1ms) CREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "copywriting_phrase_translations" ("locale")
43
+  (0.1ms) SELECT * FROM "altered_copywriting_phrase_translations"
44
+  (0.3ms) DROP TABLE "altered_copywriting_phrase_translations"
45
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115050')
46
+  (1.4ms) commit transaction
47
+ Migrating to AddPhraseType (20120416115051)
48
+  (0.0ms) begin transaction
49
+  (0.3ms) ALTER TABLE "copywriting_phrases" ADD "phrase_type" varchar(255)
50
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115051')
51
+  (1.0ms) commit transaction
52
+ Migrating to AddRefineryPrefixToTables (20120416115052)
53
+  (0.0ms) begin transaction
54
+  (0.3ms) ALTER TABLE "copywriting_phrases" RENAME TO "refinery_copywriting_phrases"
55
+  (0.2ms) ALTER TABLE "copywriting_phrase_translations" RENAME TO "refinery_copywriting_phrase_translations"
56
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115052')
57
+  (1.3ms) commit transaction
58
+ Migrating to AddPhraseLastAccessAt (20120416115053)
59
+  (0.1ms) begin transaction
60
+  (0.5ms) ALTER TABLE "refinery_copywriting_phrases" ADD "last_access_at" date
61
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115053')
62
+  (1.1ms) commit transaction
63
+ Migrating to CreateRefinerycmsAuthenticationSchema (20120416115054)
64
+  (0.0ms) begin transaction
65
+  (0.3ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer)
66
+  (0.0ms) PRAGMA index_list("refinery_roles_users")
67
+  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
68
+  (0.0ms) PRAGMA index_list("refinery_roles_users")
69
+  (0.0ms) PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
70
+  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
71
+  (0.1ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
72
+  (0.1ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer) 
73
+  (0.0ms) PRAGMA index_list("refinery_user_plugins")
74
+  (0.1ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
75
+  (0.0ms) PRAGMA index_list("refinery_user_plugins")
76
+  (0.0ms) PRAGMA index_info('index_refinery_user_plugins_on_name')
77
+  (0.3ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
78
+  (0.2ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
79
+  (0.0ms) PRAGMA index_list("refinery_users")
80
+  (0.1ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
81
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115054')
82
+  (1.3ms) commit transaction
83
+ Migrating to CreateRefinerycmsImagesSchema (20120416115055)
84
+  (0.0ms) begin transaction
85
+  (0.3ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
86
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115055')
87
+  (1.2ms) commit transaction
88
+ Migrating to CreateRefinerycmsResourcesSchema (20120416115056)
89
+  (0.0ms) begin transaction
90
+  (0.3ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
91
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115056')
92
+  (1.2ms) commit transaction
93
+ Migrating to CreateRefinerycmsPagesSchema (20120416115057)
94
+  (0.0ms) begin transaction
95
+  (0.3ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
96
+  (0.0ms) PRAGMA index_list("refinery_page_parts")
97
+  (0.1ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
98
+  (0.0ms) PRAGMA index_list("refinery_page_parts")
99
+  (0.0ms) PRAGMA index_info('index_refinery_page_parts_on_id')
100
+  (0.1ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
101
+  (0.3ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
102
+  (0.0ms) PRAGMA index_list("refinery_pages")
103
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
104
+  (0.0ms) PRAGMA index_list("refinery_pages")
105
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
106
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
107
+  (0.0ms) PRAGMA index_list("refinery_pages")
108
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
109
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
110
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
111
+  (0.0ms) PRAGMA index_list("refinery_pages")
112
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_lft')
113
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
114
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
115
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
116
+  (0.0ms) PRAGMA index_list("refinery_pages")
117
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_parent_id')
118
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_lft')
119
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
120
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
121
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
122
+  (0.2ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
123
+  (0.0ms) PRAGMA index_list("refinery_page_part_translations")
124
+  (0.1ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
125
+  (0.0ms) PRAGMA index_list("refinery_page_part_translations")
126
+  (0.0ms) PRAGMA index_info('index_f9716c4215584edbca2557e32706a5ae084a15ef')
127
+  (0.1ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
128
+  (0.1ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
129
+  (0.0ms) PRAGMA index_list("refinery_page_translations")
130
+  (0.1ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
131
+  (0.0ms) PRAGMA index_list("refinery_page_translations")
132
+  (0.0ms) PRAGMA index_info('index_d079468f88bff1c6ea81573a0d019ba8bf5c2902')
133
+  (0.1ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
134
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115057')
135
+  (1.7ms) commit transaction
136
+ Migrating to CreateSeoMeta (20120416115058)
137
+  (0.0ms) begin transaction
138
+  (0.4ms) CREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
139
+  (0.0ms) PRAGMA index_list("seo_meta")
140
+  (0.1ms) CREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")
141
+  (0.0ms) PRAGMA index_list("seo_meta")
142
+  (0.0ms) PRAGMA index_info('index_seo_meta_on_id')
143
+  (0.2ms) CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
144
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120416115058')
145
+  (1.3ms) commit transaction
146
+  (0.9ms) select sqlite_version(*)
147
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
148
+  (0.0ms) PRAGMA index_list("refinery_copywriting_phrase_translations")
149
+  (0.0ms) PRAGMA index_info('index_copywriting_phrase_translations_on_locale')
150
+  (0.0ms) PRAGMA index_info('index_c8fbec01a288d0aef8ba987126084c4d06953304')
151
+  (0.0ms) PRAGMA index_list("refinery_copywriting_phrases")
152
+  (0.0ms) PRAGMA index_info('index_copywriting_phrases_on_name_and_scope')
153
+  (0.0ms) PRAGMA index_list("refinery_images")
154
+  (0.0ms) PRAGMA index_list("refinery_page_part_translations")
155
+  (0.0ms) PRAGMA index_info('index_refinery_page_part_translations_on_locale')
156
+  (0.0ms) PRAGMA index_info('index_f9716c4215584edbca2557e32706a5ae084a15ef')
157
+  (0.0ms) PRAGMA index_list("refinery_page_parts")
158
+  (0.0ms) PRAGMA index_info('index_refinery_page_parts_on_refinery_page_id')
159
+  (0.0ms) PRAGMA index_info('index_refinery_page_parts_on_id')
160
+  (0.0ms) PRAGMA index_list("refinery_page_translations")
161
+  (0.0ms) PRAGMA index_info('index_refinery_page_translations_on_locale')
162
+  (0.0ms) PRAGMA index_info('index_d079468f88bff1c6ea81573a0d019ba8bf5c2902')
163
+  (0.1ms) PRAGMA index_list("refinery_pages")
164
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_rgt')
165
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_parent_id')
166
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_lft')
167
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
168
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
169
+  (0.0ms) PRAGMA index_list("refinery_resources")
170
+  (0.0ms) PRAGMA index_list("refinery_roles")
171
+  (0.0ms) PRAGMA index_list("refinery_roles_users")
172
+  (0.0ms) PRAGMA index_info('index_refinery_roles_users_on_user_id_and_role_id')
173
+  (0.0ms) PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
174
+  (0.0ms) PRAGMA index_list("refinery_user_plugins")
175
+  (0.0ms) PRAGMA index_info('index_refinery_user_plugins_on_user_id_and_name')
176
+  (0.0ms) PRAGMA index_info('index_refinery_user_plugins_on_name')
177
+  (0.0ms) PRAGMA index_list("refinery_users")
178
+  (0.0ms) PRAGMA index_info('index_refinery_users_on_id')
179
+  (0.0ms) PRAGMA index_list("seo_meta")
180
+  (0.0ms) PRAGMA index_info('index_seo_meta_on_seo_meta_id_and_seo_meta_type')
181
+  (0.0ms) PRAGMA index_info('index_seo_meta_on_id')
182
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
183
+  (0.2ms) SELECT COUNT(*) FROM "refinery_pages" WHERE "refinery_pages"."menu_match" = '^/$'
184
+ Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
185
+  (0.0ms) begin transaction
186
+ Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'home' OR "slug" LIKE 'home--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
187
+ SQL (3.4ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:01 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:01 UTC +00:00]]
188
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
189
+ SQL (0.4ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
190
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
191
+ SQL (0.4ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", "/"], ["menu_match", "^/$"], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "home"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
192
+  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2012-04-16 11:51:02.042631' WHERE "refinery_page_translations"."id" = 1
193
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
194
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
195
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Home', "slug" = 'home', "updated_at" = '2012-04-16 11:51:02.045927' WHERE "refinery_page_translations"."id" = 1
196
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
197
+ Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE ("refinery_pages"."id" >= 0) ORDER BY "refinery_pages"."id" ASC LIMIT 500
198
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
199
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
200
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
201
+ Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
202
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
203
+ SQL (0.1ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 ORDER BY "lft")
204
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
205
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
206
+ Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
207
+  (1.3ms) commit transaction
208
+  (0.0ms) begin transaction
209
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
210
+ SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 1], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
211
+ SQL (0.3ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
212
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 1 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
213
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Welcome to our site. This is just a place holder page while we gather our content.</p>', "updated_at" = '2012-04-16 11:51:02.096111' WHERE "refinery_page_part_translations"."id" = 1
214
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 1]]
215
+  (1.0ms) commit transaction
216
+  (0.1ms) begin transaction
217
+ Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
218
+ SQL (0.4ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is another block of content over here.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 1], ["refinery_page_id", 1], ["title", "Side Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
219
+ SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 2], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
220
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 2 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
221
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is another block of content over here.</p>', "updated_at" = '2012-04-16 11:51:02.110640' WHERE "refinery_page_part_translations"."id" = 2
222
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 2]]
223
+  (1.2ms) commit transaction
224
+  (0.0ms) begin transaction
225
+ Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
226
+ Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 AND ("slug" = 'page-not-found' OR "slug" LIKE 'page-not-found--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
227
+ SQL (0.4ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
228
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
229
+ SQL (0.2ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 2], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
230
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
231
+ SQL (0.3ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 3], ["link_url", nil], ["menu_match", "^/404$"], ["parent_id", 1], ["path", nil], ["rgt", 4], ["show_in_menu", false], ["skip_to_first_child", false], ["slug", "page-not-found"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
232
+  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 2, "updated_at" = '2012-04-16 11:51:02.122887' WHERE "refinery_page_translations"."id" = 2
233
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
234
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
235
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Page not found', "slug" = 'page-not-found', "updated_at" = '2012-04-16 11:51:02.124915' WHERE "refinery_page_translations"."id" = 2
236
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 2]]
237
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
238
+ Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? ORDER BY "lft" LIMIT 1 [["id", 1]]
239
+ Refinery::Page Load (0.1ms) SELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
240
+ SQL (0.2ms) UPDATE "refinery_pages" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" ORDER BY "lft")
241
+ Refinery::Page Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
242
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
243
+  (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
244
+ SQL (0.1ms) UPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "lft")
245
+  (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
246
+ Refinery::Page Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
247
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
248
+  (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
249
+ SQL (0.1ms) UPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "lft")
250
+  (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
251
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
252
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
253
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 2 ORDER BY lft
254
+  (1.3ms) commit transaction
255
+  (0.0ms) begin transaction
256
+ Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
257
+ SQL (0.4ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 2], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
258
+ SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 3], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
259
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 3 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
260
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href=''/''>Return to the home page</a></p>', "updated_at" = '2012-04-16 11:51:02.150228' WHERE "refinery_page_part_translations"."id" = 3
261
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
262
+  (1.2ms) commit transaction
263
+  (0.2ms) SELECT COUNT(*) FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
264
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
265
+  (0.0ms) begin transaction
266
+ Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'about' OR "slug" LIKE 'about--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
267
+ SQL (0.4ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
268
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
269
+ SQL (0.2ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 3], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
270
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
271
+ SQL (0.2ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 5], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 6], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "about"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["view_template", nil]]
272
+  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 3, "updated_at" = '2012-04-16 11:51:02.210783' WHERE "refinery_page_translations"."id" = 3
273
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
274
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
275
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'About', "slug" = 'about', "updated_at" = '2012-04-16 11:51:02.213265' WHERE "refinery_page_translations"."id" = 3
276
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 3]]
277
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
278
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
279
+ SQL (0.2ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 3 ORDER BY "lft")
280
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
281
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
282
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 3 ORDER BY lft
283
+  (1.8ms) commit transaction
284
+  (0.1ms) begin transaction
285
+ Refinery::PagePart::Translation Load (0.3ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
286
+ SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.\n\nInteger interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 0], ["refinery_page_id", 3], ["title", "Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
287
+ SQL (0.3ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 4], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
288
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 4 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
289
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.
290
+
291
+ Integer interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>', "updated_at" = '2012-04-16 11:51:02.231743' WHERE "refinery_page_part_translations"."id" = 4
292
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 4]]
293
+  (1.0ms) commit transaction
294
+  (0.0ms) begin transaction
295
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
296
+ SQL (0.3ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["position", 1], ["refinery_page_id", 3], ["title", "Side Body"], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
297
+ SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 5], ["updated_at", Mon, 16 Apr 2012 11:51:02 UTC +00:00]]
298
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 5 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
299
+  (0.2ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>', "updated_at" = '2012-04-16 11:51:02.239877' WHERE "refinery_page_part_translations"."id" = 5
300
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 5]]
301
+  (1.3ms) commit transaction
302
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
303
+  (0.2ms) select sqlite_version(*)
304
+  (1.4ms) CREATE TABLE "refinery_copywriting_phrase_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_copywriting_phrase_id" integer, "locale" varchar(255), "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
305
+  (0.0ms) PRAGMA index_list("refinery_copywriting_phrase_translations")
306
+  (1.3ms) CREATE INDEX "index_copywriting_phrase_translations_on_locale" ON "refinery_copywriting_phrase_translations" ("locale")
307
+  (0.0ms) PRAGMA index_list("refinery_copywriting_phrase_translations")
308
+  (0.0ms) PRAGMA index_info('index_copywriting_phrase_translations_on_locale')
309
+  (1.1ms) CREATE INDEX "index_c8fbec01a288d0aef8ba987126084c4d06953304" ON "refinery_copywriting_phrase_translations" ("refinery_copywriting_phrase_id")
310
+  (1.1ms) CREATE TABLE "refinery_copywriting_phrases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "default" text, "value" text, "scope" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "phrase_type" varchar(255), "last_access_at" date) 
311
+  (0.0ms) PRAGMA index_list("refinery_copywriting_phrases")
312
+  (1.1ms) CREATE INDEX "index_copywriting_phrases_on_name_and_scope" ON "refinery_copywriting_phrases" ("name", "scope")
313
+  (0.9ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
314
+  (1.1ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
315
+  (0.0ms) PRAGMA index_list("refinery_page_part_translations")
316
+  (1.2ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
317
+  (0.1ms) PRAGMA index_list("refinery_page_part_translations")
318
+  (0.0ms) PRAGMA index_info('index_refinery_page_part_translations_on_locale')
319
+  (0.8ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
320
+  (1.2ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
321
+  (0.0ms) PRAGMA index_list("refinery_page_parts")
322
+  (1.0ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
323
+  (0.0ms) PRAGMA index_list("refinery_page_parts")
324
+  (0.0ms) PRAGMA index_info('index_refinery_page_parts_on_id')
325
+  (1.1ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
326
+  (1.2ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
327
+  (0.0ms) PRAGMA index_list("refinery_page_translations")
328
+  (1.1ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
329
+  (0.1ms) PRAGMA index_list("refinery_page_translations")
330
+  (0.0ms) PRAGMA index_info('index_refinery_page_translations_on_locale')
331
+  (1.0ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
332
+  (1.3ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
333
+  (0.0ms) PRAGMA index_list("refinery_pages")
334
+  (1.3ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
335
+  (0.0ms) PRAGMA index_list("refinery_pages")
336
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
337
+  (1.2ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
338
+  (0.1ms) PRAGMA index_list("refinery_pages")
339
+  (0.1ms) PRAGMA index_info('index_refinery_pages_on_id')
340
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
341
+  (1.1ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
342
+  (0.0ms) PRAGMA index_list("refinery_pages")
343
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_lft')
344
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
345
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
346
+  (1.3ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
347
+  (0.0ms) PRAGMA index_list("refinery_pages")
348
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_parent_id')
349
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_lft')
350
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_id')
351
+  (0.0ms) PRAGMA index_info('index_refinery_pages_on_depth')
352
+  (1.0ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
353
+  (1.3ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
354
+  (1.1ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) 
355
+  (1.1ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer)
356
+  (0.0ms) PRAGMA index_list("refinery_roles_users")
357
+  (1.0ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
358
+  (0.0ms) PRAGMA index_list("refinery_roles_users")
359
+  (0.0ms) PRAGMA index_info('index_refinery_roles_users_on_role_id_and_user_id')
360
+  (1.1ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
361
+  (1.2ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer)
362
+  (0.0ms) PRAGMA index_list("refinery_user_plugins")
363
+  (1.3ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
364
+  (0.0ms) PRAGMA index_list("refinery_user_plugins")
365
+  (0.0ms) PRAGMA index_info('index_refinery_user_plugins_on_name')
366
+  (1.2ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
367
+  (1.4ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
368
+  (0.0ms) PRAGMA index_list("refinery_users")
369
+  (1.0ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
370
+  (1.3ms) CREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
371
+  (0.0ms) PRAGMA index_list("seo_meta")
372
+  (1.0ms) CREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")
373
+  (0.0ms) PRAGMA index_list("seo_meta")
374
+  (0.0ms) PRAGMA index_info('index_seo_meta_on_id')
375
+  (0.9ms) CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
376
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
377
+  (0.0ms) PRAGMA index_list("schema_migrations")
378
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
379
+  (0.1ms) SELECT version FROM "schema_migrations"
380
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115058')
381
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115049')
382
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115050')
383
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115051')
384
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115052')
385
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115053')
386
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115054')
387
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115055')
388
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115056')
389
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120416115057')