refinerycms-copywriting 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/app/assets/stylesheets/{refinerycms-copywriting-tab.css.scss → refinery/copywriting/backend.css.scss} +4 -0
  2. data/app/models/refinery/copywriting/phrase.rb +3 -3
  3. data/app/views/refinery/copywriting/admin/phrases/_form.html.erb +8 -13
  4. data/app/views/refinery/copywriting/admin/phrases/_locale_filters.html.erb +0 -2
  5. data/app/views/refinery/copywriting/admin/phrases/_phrases.html.erb +1 -1
  6. data/app/views/refinery/copywriting/admin/phrases/edit.html.erb +1 -1
  7. data/app/views/refinery/copywriting/admin/phrases/index.html.erb +4 -4
  8. data/app/views/refinery/pages/admin/tabs/_copywriting.html.erb +2 -2
  9. data/config/locales/pl.yml +24 -0
  10. data/config/locales/ru.yml +24 -0
  11. data/config/routes.rb +1 -5
  12. data/db/migrate/2_create_copywriting_translation_table.rb +14 -1
  13. data/lib/refinery/copywriting/engine.rb +2 -2
  14. data/spec/models/copywriting_phrase_spec.rb +7 -2
  15. metadata +5 -67
  16. data/app/assets/stylesheets/refinerycms-copywriting.css.scss +0 -3
  17. data/spec/dummy/README.rdoc +0 -261
  18. data/spec/dummy/Rakefile +0 -7
  19. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  20. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  21. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  22. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  23. data/spec/dummy/app/views/sitemap/index.xml.builder +0 -25
  24. data/spec/dummy/config.ru +0 -4
  25. data/spec/dummy/config/application.rb +0 -62
  26. data/spec/dummy/config/boot.rb +0 -6
  27. data/spec/dummy/config/database.yml +0 -18
  28. data/spec/dummy/config/database.yml.mysql +0 -20
  29. data/spec/dummy/config/database.yml.postgresql +0 -58
  30. data/spec/dummy/config/database.yml.sqlite3 +0 -18
  31. data/spec/dummy/config/environment.rb +0 -5
  32. data/spec/dummy/config/environments/development.rb +0 -37
  33. data/spec/dummy/config/environments/production.rb +0 -71
  34. data/spec/dummy/config/environments/test.rb +0 -37
  35. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  36. data/spec/dummy/config/initializers/devise.rb +0 -229
  37. data/spec/dummy/config/initializers/inflections.rb +0 -15
  38. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  39. data/spec/dummy/config/initializers/refinery/core.rb +0 -48
  40. data/spec/dummy/config/initializers/refinery/images.rb +0 -41
  41. data/spec/dummy/config/initializers/refinery/pages.rb +0 -44
  42. data/spec/dummy/config/initializers/refinery/resources.rb +0 -26
  43. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  44. data/spec/dummy/config/initializers/session_store.rb +0 -8
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  46. data/spec/dummy/config/locales/en.yml +0 -5
  47. data/spec/dummy/config/routes.rb +0 -3
  48. data/spec/dummy/db/migrate/20120416115049_create_copywritings.refinery_copywriting.rb +0 -24
  49. data/spec/dummy/db/migrate/20120416115050_create_copywriting_translation_table.refinery_copywriting.rb +0 -42
  50. data/spec/dummy/db/migrate/20120416115051_add_phrase_type.refinery_copywriting.rb +0 -12
  51. data/spec/dummy/db/migrate/20120416115052_add_refinery_prefix_to_tables.refinery_copywriting.rb +0 -14
  52. data/spec/dummy/db/migrate/20120416115053_add_phrase_last_access_at.refinery_copywriting.rb +0 -12
  53. data/spec/dummy/db/migrate/20120416115054_create_refinerycms_authentication_schema.refinery_authentication.rb +0 -44
  54. data/spec/dummy/db/migrate/20120416115055_create_refinerycms_images_schema.refinery_images.rb +0 -16
  55. data/spec/dummy/db/migrate/20120416115056_create_refinerycms_resources_schema.refinery_resources.rb +0 -14
  56. data/spec/dummy/db/migrate/20120416115057_create_refinerycms_pages_schema.refinery_pages.rb +0 -59
  57. data/spec/dummy/db/migrate/20120416115058_create_seo_meta.seo_meta_engine.rb +0 -24
  58. data/spec/dummy/db/schema.rb +0 -177
  59. data/spec/dummy/db/seeds.rb +0 -10
  60. data/spec/dummy/dummy_dev +0 -0
  61. data/spec/dummy/dummy_test +0 -0
  62. data/spec/dummy/log/development.log +0 -389
  63. data/spec/dummy/log/test.log +0 -1894
  64. data/spec/dummy/public/404.html +0 -26
  65. data/spec/dummy/public/422.html +0 -26
  66. data/spec/dummy/public/500.html +0 -25
  67. data/spec/dummy/public/favicon.ico +0 -0
  68. data/spec/dummy/script/rails +0 -6
  69. data/spec/dummy/tmp/index/development/refinery/page/102_111_117.ind +0 -2
  70. data/spec/dummy/tmp/index/development/refinery/page/104_111_109.ind +0 -0
  71. data/spec/dummy/tmp/index/development/refinery/page/110_111_116.ind +0 -1
  72. data/spec/dummy/tmp/index/development/refinery/page/112_97_103.ind +0 -0
  73. data/spec/dummy/tmp/index/development/refinery/page/97_98_111.ind +0 -0
  74. data/spec/dummy/tmp/index/development/refinery/page/size +0 -1
  75. data/spec/dummy/tmp/index/development/refinery/page/version +0 -1
  76. data/spec/dummy/tmp/index/test/refinery/page/112_97_103.ind +0 -1
  77. data/spec/dummy/tmp/index/test/refinery/page/116_101_115.ind +0 -0
  78. data/spec/dummy/tmp/index/test/refinery/page/size +0 -1
  79. data/spec/dummy/tmp/index/test/refinery/page/version +0 -1
@@ -1,24 +0,0 @@
1
- # This migration comes from seo_meta_engine (originally 20110329222114)
2
- class CreateSeoMeta < ActiveRecord::Migration
3
-
4
- def self.up
5
- create_table :seo_meta do |t|
6
- t.integer :seo_meta_id
7
- t.string :seo_meta_type
8
-
9
- t.string :browser_title
10
- t.string :meta_keywords
11
- t.text :meta_description
12
-
13
- t.timestamps
14
- end
15
-
16
- add_index :seo_meta, :id
17
- add_index :seo_meta, [:seo_meta_id, :seo_meta_type]
18
- end
19
-
20
- def self.down
21
- drop_table :seo_meta
22
- end
23
-
24
- end
@@ -1,177 +0,0 @@
1
- # encoding: UTF-8
2
- # This file is auto-generated from the current state of the database. Instead
3
- # of editing this file, please use the migrations feature of Active Record to
4
- # incrementally modify your database, and then regenerate this schema definition.
5
- #
6
- # Note that this schema.rb definition is the authoritative source for your
7
- # database schema. If you need to create the application database on another
8
- # system, you should be using db:schema:load, not running all the migrations
9
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
- # you'll amass, the slower it'll run and the greater likelihood for issues).
11
- #
12
- # It's strongly recommended to check this file into your version control system.
13
-
14
- ActiveRecord::Schema.define(:version => 20120416115058) do
15
-
16
- create_table "refinery_copywriting_phrase_translations", :force => true do |t|
17
- t.integer "refinery_copywriting_phrase_id"
18
- t.string "locale"
19
- t.text "value"
20
- t.datetime "created_at", :null => false
21
- t.datetime "updated_at", :null => false
22
- end
23
-
24
- add_index "refinery_copywriting_phrase_translations", ["locale"], :name => "index_copywriting_phrase_translations_on_locale"
25
- add_index "refinery_copywriting_phrase_translations", ["refinery_copywriting_phrase_id"], :name => "index_c8fbec01a288d0aef8ba987126084c4d06953304"
26
-
27
- create_table "refinery_copywriting_phrases", :force => true do |t|
28
- t.string "name"
29
- t.text "default"
30
- t.text "value"
31
- t.string "scope"
32
- t.integer "page_id"
33
- t.datetime "created_at", :null => false
34
- t.datetime "updated_at", :null => false
35
- t.string "phrase_type"
36
- t.date "last_access_at"
37
- end
38
-
39
- add_index "refinery_copywriting_phrases", ["name", "scope"], :name => "index_copywriting_phrases_on_name_and_scope"
40
-
41
- create_table "refinery_images", :force => true do |t|
42
- t.string "image_mime_type"
43
- t.string "image_name"
44
- t.integer "image_size"
45
- t.integer "image_width"
46
- t.integer "image_height"
47
- t.string "image_uid"
48
- t.string "image_ext"
49
- t.datetime "created_at", :null => false
50
- t.datetime "updated_at", :null => false
51
- end
52
-
53
- create_table "refinery_page_part_translations", :force => true do |t|
54
- t.integer "refinery_page_part_id"
55
- t.string "locale"
56
- t.text "body"
57
- t.datetime "created_at", :null => false
58
- t.datetime "updated_at", :null => false
59
- end
60
-
61
- add_index "refinery_page_part_translations", ["locale"], :name => "index_refinery_page_part_translations_on_locale"
62
- add_index "refinery_page_part_translations", ["refinery_page_part_id"], :name => "index_f9716c4215584edbca2557e32706a5ae084a15ef"
63
-
64
- create_table "refinery_page_parts", :force => true do |t|
65
- t.integer "refinery_page_id"
66
- t.string "title"
67
- t.text "body"
68
- t.integer "position"
69
- t.datetime "created_at", :null => false
70
- t.datetime "updated_at", :null => false
71
- end
72
-
73
- add_index "refinery_page_parts", ["id"], :name => "index_refinery_page_parts_on_id"
74
- add_index "refinery_page_parts", ["refinery_page_id"], :name => "index_refinery_page_parts_on_refinery_page_id"
75
-
76
- create_table "refinery_page_translations", :force => true do |t|
77
- t.integer "refinery_page_id"
78
- t.string "locale"
79
- t.string "title"
80
- t.string "custom_slug"
81
- t.string "menu_title"
82
- t.string "slug"
83
- t.datetime "created_at", :null => false
84
- t.datetime "updated_at", :null => false
85
- end
86
-
87
- add_index "refinery_page_translations", ["locale"], :name => "index_refinery_page_translations_on_locale"
88
- add_index "refinery_page_translations", ["refinery_page_id"], :name => "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902"
89
-
90
- create_table "refinery_pages", :force => true do |t|
91
- t.integer "parent_id"
92
- t.string "path"
93
- t.string "slug"
94
- t.boolean "show_in_menu", :default => true
95
- t.string "link_url"
96
- t.string "menu_match"
97
- t.boolean "deletable", :default => true
98
- t.boolean "draft", :default => false
99
- t.boolean "skip_to_first_child", :default => false
100
- t.integer "lft"
101
- t.integer "rgt"
102
- t.integer "depth"
103
- t.string "view_template"
104
- t.string "layout_template"
105
- t.datetime "created_at", :null => false
106
- t.datetime "updated_at", :null => false
107
- end
108
-
109
- add_index "refinery_pages", ["depth"], :name => "index_refinery_pages_on_depth"
110
- add_index "refinery_pages", ["id"], :name => "index_refinery_pages_on_id"
111
- add_index "refinery_pages", ["lft"], :name => "index_refinery_pages_on_lft"
112
- add_index "refinery_pages", ["parent_id"], :name => "index_refinery_pages_on_parent_id"
113
- add_index "refinery_pages", ["rgt"], :name => "index_refinery_pages_on_rgt"
114
-
115
- create_table "refinery_resources", :force => true do |t|
116
- t.string "file_mime_type"
117
- t.string "file_name"
118
- t.integer "file_size"
119
- t.string "file_uid"
120
- t.string "file_ext"
121
- t.datetime "created_at", :null => false
122
- t.datetime "updated_at", :null => false
123
- end
124
-
125
- create_table "refinery_roles", :force => true do |t|
126
- t.string "title"
127
- end
128
-
129
- create_table "refinery_roles_users", :id => false, :force => true do |t|
130
- t.integer "user_id"
131
- t.integer "role_id"
132
- end
133
-
134
- add_index "refinery_roles_users", ["role_id", "user_id"], :name => "index_refinery_roles_users_on_role_id_and_user_id"
135
- add_index "refinery_roles_users", ["user_id", "role_id"], :name => "index_refinery_roles_users_on_user_id_and_role_id"
136
-
137
- create_table "refinery_user_plugins", :force => true do |t|
138
- t.integer "user_id"
139
- t.string "name"
140
- t.integer "position"
141
- end
142
-
143
- add_index "refinery_user_plugins", ["name"], :name => "index_refinery_user_plugins_on_name"
144
- add_index "refinery_user_plugins", ["user_id", "name"], :name => "index_refinery_user_plugins_on_user_id_and_name", :unique => true
145
-
146
- create_table "refinery_users", :force => true do |t|
147
- t.string "username", :null => false
148
- t.string "email", :null => false
149
- t.string "encrypted_password", :null => false
150
- t.datetime "current_sign_in_at"
151
- t.datetime "last_sign_in_at"
152
- t.string "current_sign_in_ip"
153
- t.string "last_sign_in_ip"
154
- t.integer "sign_in_count"
155
- t.datetime "remember_created_at"
156
- t.string "reset_password_token"
157
- t.datetime "reset_password_sent_at"
158
- t.datetime "created_at", :null => false
159
- t.datetime "updated_at", :null => false
160
- end
161
-
162
- add_index "refinery_users", ["id"], :name => "index_refinery_users_on_id"
163
-
164
- create_table "seo_meta", :force => true do |t|
165
- t.integer "seo_meta_id"
166
- t.string "seo_meta_type"
167
- t.string "browser_title"
168
- t.string "meta_keywords"
169
- t.text "meta_description"
170
- t.datetime "created_at", :null => false
171
- t.datetime "updated_at", :null => false
172
- end
173
-
174
- add_index "seo_meta", ["id"], :name => "index_seo_meta_on_id"
175
- add_index "seo_meta", ["seo_meta_id", "seo_meta_type"], :name => "index_seo_meta_on_seo_meta_id_and_seo_meta_type"
176
-
177
- end
@@ -1,10 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
- # Mayor.create(:name => 'Emanuel', :city => cities.first)
8
-
9
- # Added by Refinery CMS Pages extension
10
- Refinery::Pages::Engine.load_seed
Binary file
Binary file
@@ -1,389 +0,0 @@
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')