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,1894 +0,0 @@
1
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
2
-  (0.1ms) begin transaction
3
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
4
- SQL (5.9ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
5
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
6
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
7
-  (2.3ms) commit transaction
8
-  (0.1ms) begin transaction
9
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
10
-  (0.1ms) commit transaction
11
-  (0.0ms) begin transaction
12
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.341160' WHERE "refinery_copywriting_phrases"."id" = 1
13
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
14
-  (1.2ms) commit transaction
15
-  (1.5ms) DELETE FROM "refinery_copywriting_phrase_translations";
16
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
17
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
18
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
19
-  (0.8ms) DELETE FROM "refinery_images";
20
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
21
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
22
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
23
-  (1.0ms) DELETE FROM "refinery_page_parts";
24
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
25
-  (1.4ms) DELETE FROM "refinery_page_translations";
26
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
27
-  (1.3ms) DELETE FROM "refinery_pages";
28
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
29
-  (1.0ms) DELETE FROM "refinery_resources";
30
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
31
-  (1.0ms) DELETE FROM "refinery_roles";
32
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
33
-  (1.2ms) DELETE FROM "refinery_roles_users";
34
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
35
-  (1.1ms) DELETE FROM "refinery_user_plugins";
36
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
37
-  (1.1ms) DELETE FROM "refinery_users";
38
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
39
-  (1.1ms) DELETE FROM "seo_meta";
40
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
41
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
42
-  (0.0ms) begin transaction
43
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
44
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
45
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
46
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
47
-  (1.4ms) commit transaction
48
-  (0.0ms) begin transaction
49
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
50
-  (0.1ms) commit transaction
51
-  (0.0ms) begin transaction
52
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.377397' WHERE "refinery_copywriting_phrases"."id" = 1
53
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
54
-  (1.1ms) commit transaction
55
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test two' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
56
-  (0.0ms) begin transaction
57
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
58
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "test just default"], ["last_access_at", nil], ["name", "test two"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
59
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
60
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
61
-  (1.1ms) commit transaction
62
-  (0.0ms) begin transaction
63
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
64
-  (0.1ms) commit transaction
65
-  (0.0ms) begin transaction
66
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.390372' WHERE "refinery_copywriting_phrases"."id" = 2
67
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
68
-  (0.8ms) commit transaction
69
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
70
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
71
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
72
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
73
-  (0.9ms) DELETE FROM "refinery_images";
74
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
75
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
76
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
77
-  (0.9ms) DELETE FROM "refinery_page_parts";
78
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
79
-  (1.2ms) DELETE FROM "refinery_page_translations";
80
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
81
-  (1.3ms) DELETE FROM "refinery_pages";
82
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
83
-  (0.7ms) DELETE FROM "refinery_resources";
84
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
85
-  (1.0ms) DELETE FROM "refinery_roles";
86
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
87
-  (1.2ms) DELETE FROM "refinery_roles_users";
88
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
89
-  (1.0ms) DELETE FROM "refinery_user_plugins";
90
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
91
-  (1.1ms) DELETE FROM "refinery_users";
92
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
93
-  (1.1ms) DELETE FROM "seo_meta";
94
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
95
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
96
-  (0.0ms) begin transaction
97
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
98
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "this is a block"], ["last_access_at", nil], ["name", "test block"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
99
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
100
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
101
-  (1.0ms) commit transaction
102
-  (0.0ms) begin transaction
103
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
104
-  (0.0ms) commit transaction
105
-  (0.0ms) begin transaction
106
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.427655' WHERE "refinery_copywriting_phrases"."id" = 1
107
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
108
-  (1.2ms) commit transaction
109
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' ORDER BY scope, name LIMIT 1
110
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
111
-  (0.0ms) begin transaction
112
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
113
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
114
-  (0.1ms) commit transaction
115
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
116
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
117
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
118
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
119
-  (1.0ms) DELETE FROM "refinery_images";
120
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
121
-  (1.2ms) DELETE FROM "refinery_page_part_translations";
122
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
123
-  (0.9ms) DELETE FROM "refinery_page_parts";
124
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
125
-  (1.1ms) DELETE FROM "refinery_page_translations";
126
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
127
-  (1.2ms) DELETE FROM "refinery_pages";
128
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
129
-  (1.0ms) DELETE FROM "refinery_resources";
130
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
131
-  (0.9ms) DELETE FROM "refinery_roles";
132
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
133
-  (0.9ms) DELETE FROM "refinery_roles_users";
134
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
135
-  (1.0ms) DELETE FROM "refinery_user_plugins";
136
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
137
-  (1.1ms) DELETE FROM "refinery_users";
138
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
139
-  (0.9ms) DELETE FROM "seo_meta";
140
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
141
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
142
-  (0.0ms) begin transaction
143
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
144
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
145
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
146
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
147
-  (1.7ms) commit transaction
148
-  (0.0ms) begin transaction
149
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
150
-  (0.1ms) commit transaction
151
-  (0.0ms) begin transaction
152
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.467634' WHERE "refinery_copywriting_phrases"."id" = 1
153
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
154
-  (1.3ms) commit transaction
155
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' ORDER BY scope, name LIMIT 1
156
-  (1.5ms) DELETE FROM "refinery_copywriting_phrase_translations";
157
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
158
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
159
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
160
-  (0.9ms) DELETE FROM "refinery_images";
161
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
162
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
163
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
164
-  (0.9ms) DELETE FROM "refinery_page_parts";
165
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
166
-  (1.2ms) DELETE FROM "refinery_page_translations";
167
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
168
-  (1.2ms) DELETE FROM "refinery_pages";
169
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
170
-  (0.9ms) DELETE FROM "refinery_resources";
171
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
172
-  (1.0ms) DELETE FROM "refinery_roles";
173
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
174
-  (1.3ms) DELETE FROM "refinery_roles_users";
175
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
176
-  (1.3ms) DELETE FROM "refinery_user_plugins";
177
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
178
-  (1.1ms) DELETE FROM "refinery_users";
179
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
180
-  (0.9ms) DELETE FROM "seo_meta";
181
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
182
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
183
-  (0.0ms) begin transaction
184
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
185
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test without default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "without_default_scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
186
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
187
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
188
-  (1.4ms) commit transaction
189
-  (0.0ms) begin transaction
190
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
191
-  (0.1ms) commit transaction
192
-  (0.0ms) begin transaction
193
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.503725' WHERE "refinery_copywriting_phrases"."id" = 1
194
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
195
-  (1.3ms) commit transaction
196
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' ORDER BY scope, name LIMIT 1
197
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
198
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
199
-  (1.1ms) DELETE FROM "refinery_copywriting_phrases";
200
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
201
-  (0.9ms) DELETE FROM "refinery_images";
202
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
203
-  (1.1ms) DELETE FROM "refinery_page_part_translations";
204
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
205
-  (0.8ms) DELETE FROM "refinery_page_parts";
206
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
207
-  (1.2ms) DELETE FROM "refinery_page_translations";
208
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
209
-  (1.1ms) DELETE FROM "refinery_pages";
210
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
211
-  (0.8ms) DELETE FROM "refinery_resources";
212
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
213
-  (0.9ms) DELETE FROM "refinery_roles";
214
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
215
-  (1.1ms) DELETE FROM "refinery_roles_users";
216
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
217
-  (1.2ms) DELETE FROM "refinery_user_plugins";
218
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
219
-  (1.2ms) DELETE FROM "refinery_users";
220
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
221
-  (1.0ms) DELETE FROM "seo_meta";
222
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
223
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
224
-  (0.0ms) begin transaction
225
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
226
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
227
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
228
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
229
-  (0.9ms) commit transaction
230
-  (0.0ms) begin transaction
231
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
232
-  (0.0ms) commit transaction
233
-  (0.0ms) begin transaction
234
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.538728' WHERE "refinery_copywriting_phrases"."id" = 1
235
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
236
-  (0.7ms) commit transaction
237
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
238
-  (0.0ms) begin transaction
239
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
240
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test outside default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
241
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
242
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
243
-  (1.2ms) commit transaction
244
-  (0.1ms) begin transaction
245
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
246
-  (0.1ms) commit transaction
247
-  (0.0ms) begin transaction
248
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.551940' WHERE "refinery_copywriting_phrases"."id" = 2
249
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
250
-  (1.0ms) commit transaction
251
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' ORDER BY scope, name LIMIT 1
252
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
253
-  (1.2ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
254
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
255
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
256
-  (0.8ms) DELETE FROM "refinery_images";
257
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
258
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
259
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
260
-  (0.9ms) DELETE FROM "refinery_page_parts";
261
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
262
-  (1.0ms) DELETE FROM "refinery_page_translations";
263
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
264
-  (1.1ms) DELETE FROM "refinery_pages";
265
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
266
-  (0.7ms) DELETE FROM "refinery_resources";
267
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
268
-  (0.6ms) DELETE FROM "refinery_roles";
269
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
270
-  (0.9ms) DELETE FROM "refinery_roles_users";
271
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
272
-  (1.0ms) DELETE FROM "refinery_user_plugins";
273
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
274
-  (1.0ms) DELETE FROM "refinery_users";
275
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
276
-  (0.9ms) DELETE FROM "seo_meta";
277
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
278
-  (0.1ms) begin transaction
279
-  (0.0ms) rollback transaction
280
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
281
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
282
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
283
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
284
-  (0.8ms) DELETE FROM "refinery_images";
285
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
286
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
287
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
288
-  (1.0ms) DELETE FROM "refinery_page_parts";
289
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
290
-  (1.3ms) DELETE FROM "refinery_page_translations";
291
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
292
-  (1.1ms) DELETE FROM "refinery_pages";
293
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
294
-  (0.9ms) DELETE FROM "refinery_resources";
295
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
296
-  (0.8ms) DELETE FROM "refinery_roles";
297
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
298
-  (0.9ms) DELETE FROM "refinery_roles_users";
299
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
300
-  (0.9ms) DELETE FROM "refinery_user_plugins";
301
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
302
-  (0.8ms) DELETE FROM "refinery_users";
303
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
304
-  (1.0ms) DELETE FROM "seo_meta";
305
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
306
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
307
-  (0.0ms) begin transaction
308
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
309
- SQL (0.5ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
310
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
311
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
312
-  (1.3ms) commit transaction
313
-  (0.0ms) begin transaction
314
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
315
-  (0.1ms) commit transaction
316
-  (0.0ms) begin transaction
317
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.606329' WHERE "refinery_copywriting_phrases"."id" = 1
318
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
319
-  (0.8ms) commit transaction
320
-  (0.9ms) DELETE FROM "refinery_copywriting_phrase_translations";
321
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
322
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
323
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
324
-  (0.7ms) DELETE FROM "refinery_images";
325
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
326
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
327
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
328
-  (0.9ms) DELETE FROM "refinery_page_parts";
329
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
330
-  (1.0ms) DELETE FROM "refinery_page_translations";
331
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
332
-  (1.1ms) DELETE FROM "refinery_pages";
333
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
334
-  (0.8ms) DELETE FROM "refinery_resources";
335
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
336
-  (1.0ms) DELETE FROM "refinery_roles";
337
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
338
-  (1.0ms) DELETE FROM "refinery_roles_users";
339
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
340
-  (0.9ms) DELETE FROM "refinery_user_plugins";
341
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
342
-  (0.9ms) DELETE FROM "refinery_users";
343
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
344
-  (0.8ms) DELETE FROM "seo_meta";
345
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
346
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
347
-  (0.0ms) begin transaction
348
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
349
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
350
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
351
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
352
-  (1.2ms) commit transaction
353
-  (0.0ms) begin transaction
354
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
355
-  (0.1ms) commit transaction
356
-  (0.0ms) begin transaction
357
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.638250' WHERE "refinery_copywriting_phrases"."id" = 1
358
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
359
-  (1.0ms) commit transaction
360
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
361
-  (0.0ms) begin transaction
362
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
363
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
364
-  (0.0ms) commit transaction
365
-  (0.1ms) SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
366
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
367
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
368
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
369
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
370
-  (0.6ms) DELETE FROM "refinery_images";
371
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
372
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
373
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
374
-  (1.0ms) DELETE FROM "refinery_page_parts";
375
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
376
-  (0.9ms) DELETE FROM "refinery_page_translations";
377
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
378
-  (1.1ms) DELETE FROM "refinery_pages";
379
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
380
-  (0.9ms) DELETE FROM "refinery_resources";
381
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
382
-  (0.8ms) DELETE FROM "refinery_roles";
383
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
384
-  (0.8ms) DELETE FROM "refinery_roles_users";
385
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
386
-  (1.0ms) DELETE FROM "refinery_user_plugins";
387
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
388
-  (0.7ms) DELETE FROM "refinery_users";
389
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
390
-  (0.9ms) DELETE FROM "seo_meta";
391
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
392
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
393
-  (0.0ms) begin transaction
394
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
395
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
396
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
397
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
398
-  (0.8ms) commit transaction
399
-  (0.0ms) begin transaction
400
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
401
-  (0.0ms) commit transaction
402
-  (0.0ms) begin transaction
403
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.674267' WHERE "refinery_copywriting_phrases"."id" = 1
404
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
405
-  (1.0ms) commit transaction
406
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
407
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
408
-  (0.0ms) begin transaction
409
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-16 11:51:23.679625' WHERE "refinery_copywriting_phrases"."id" = 1
410
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1 AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
411
-  (0.1ms) UPDATE "refinery_copywriting_phrase_translations" SET "value" = 'updated!', "updated_at" = '2012-04-16 11:51:23.682053' WHERE "refinery_copywriting_phrase_translations"."id" = 1
412
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
413
-  (1.2ms) commit transaction
414
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
415
-  (0.0ms) begin transaction
416
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
417
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
418
-  (0.0ms) commit transaction
419
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
420
-  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
421
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
422
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
423
-  (0.8ms) DELETE FROM "refinery_images";
424
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
425
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
426
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
427
-  (0.9ms) DELETE FROM "refinery_page_parts";
428
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
429
-  (0.8ms) DELETE FROM "refinery_page_translations";
430
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
431
-  (1.0ms) DELETE FROM "refinery_pages";
432
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
433
-  (0.9ms) DELETE FROM "refinery_resources";
434
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
435
-  (0.8ms) DELETE FROM "refinery_roles";
436
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
437
-  (1.1ms) DELETE FROM "refinery_roles_users";
438
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
439
-  (1.0ms) DELETE FROM "refinery_user_plugins";
440
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
441
-  (0.8ms) DELETE FROM "refinery_users";
442
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
443
-  (0.7ms) DELETE FROM "seo_meta";
444
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
445
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
446
-  (0.1ms) begin transaction
447
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
448
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
449
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
450
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
451
-  (0.8ms) commit transaction
452
-  (0.0ms) begin transaction
453
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
454
-  (0.1ms) commit transaction
455
-  (0.0ms) begin transaction
456
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.765783' WHERE "refinery_copywriting_phrases"."id" = 1
457
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
458
-  (0.7ms) commit transaction
459
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
460
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
461
-  (0.9ms) DELETE FROM "refinery_copywriting_phrase_translations";
462
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
463
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
464
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
465
-  (0.7ms) DELETE FROM "refinery_images";
466
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
467
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
468
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
469
-  (0.8ms) DELETE FROM "refinery_page_parts";
470
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
471
-  (0.8ms) DELETE FROM "refinery_page_translations";
472
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
473
-  (0.9ms) DELETE FROM "refinery_pages";
474
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
475
-  (0.7ms) DELETE FROM "refinery_resources";
476
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
477
-  (0.8ms) DELETE FROM "refinery_roles";
478
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
479
-  (0.9ms) DELETE FROM "refinery_roles_users";
480
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
481
-  (1.0ms) DELETE FROM "refinery_user_plugins";
482
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
483
-  (0.8ms) DELETE FROM "refinery_users";
484
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
485
-  (1.0ms) DELETE FROM "seo_meta";
486
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
487
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
488
-  (0.0ms) begin transaction
489
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
490
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_defaults"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
491
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["value", nil]]
492
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
493
-  (1.3ms) commit transaction
494
-  (0.1ms) begin transaction
495
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
496
-  (0.0ms) commit transaction
497
-  (0.0ms) begin transaction
498
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:23.800230' WHERE "refinery_copywriting_phrases"."id" = 1
499
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
500
-  (0.6ms) commit transaction
501
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' ORDER BY scope, name LIMIT 1
502
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
503
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
504
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
505
-  (1.0ms) DELETE FROM "refinery_copywriting_phrases";
506
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
507
-  (0.8ms) DELETE FROM "refinery_images";
508
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
509
-  (1.1ms) DELETE FROM "refinery_page_part_translations";
510
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
511
-  (0.8ms) DELETE FROM "refinery_page_parts";
512
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
513
-  (0.9ms) DELETE FROM "refinery_page_translations";
514
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
515
-  (1.2ms) DELETE FROM "refinery_pages";
516
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
517
-  (0.8ms) DELETE FROM "refinery_resources";
518
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
519
-  (0.8ms) DELETE FROM "refinery_roles";
520
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
521
-  (0.8ms) DELETE FROM "refinery_roles_users";
522
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
523
-  (0.9ms) DELETE FROM "refinery_user_plugins";
524
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
525
-  (0.7ms) DELETE FROM "refinery_users";
526
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
527
-  (1.4ms) DELETE FROM "seo_meta";
528
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
529
- 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
530
-  (0.1ms) begin transaction
531
- Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'test-page' OR "slug" LIKE 'test-page--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
532
- 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:23 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:23 UTC +00:00]]
533
- 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
534
- 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:23 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:23 UTC +00:00]]
535
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
536
- 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:23 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "test-page"], ["updated_at", Mon, 16 Apr 2012 11:51:23 UTC +00:00], ["view_template", nil]]
537
-  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2012-04-16 11:51:23.987002' WHERE "refinery_page_translations"."id" = 1
538
- 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
539
- 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
540
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'test page', "slug" = 'test-page', "updated_at" = '2012-04-16 11:51:23.989729' WHERE "refinery_page_translations"."id" = 1
541
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
542
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE ("refinery_pages"."id" >= 0) ORDER BY "refinery_pages"."id" ASC LIMIT 500
543
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
544
- 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
545
- Refinery::PagePart Load (0.3ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
546
- 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
547
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
548
- 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" = 1 ORDER BY "lft")
549
- Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
550
- 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
551
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
552
-  (1.4ms) commit transaction
553
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' AND "refinery_copywriting_phrases"."page_id" = 1 ORDER BY scope, name LIMIT 1
554
-  (0.1ms) begin transaction
555
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
556
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page"], ["page_id", 1], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["value", nil]]
557
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["value", nil]]
558
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
559
-  (1.2ms) commit transaction
560
-  (0.0ms) begin transaction
561
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
562
-  (0.1ms) commit transaction
563
-  (0.0ms) begin transaction
564
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:24.074857' WHERE "refinery_copywriting_phrases"."id" = 1
565
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
566
-  (1.1ms) commit transaction
567
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' ORDER BY scope, name LIMIT 1
568
-  (1.0ms) DELETE FROM "refinery_copywriting_phrase_translations";
569
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
570
-  (1.0ms) DELETE FROM "refinery_copywriting_phrases";
571
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
572
-  (0.8ms) DELETE FROM "refinery_images";
573
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
574
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
575
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
576
-  (1.1ms) DELETE FROM "refinery_page_parts";
577
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
578
-  (1.1ms) DELETE FROM "refinery_page_translations";
579
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
580
-  (1.1ms) DELETE FROM "refinery_pages";
581
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
582
-  (0.8ms) DELETE FROM "refinery_resources";
583
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
584
-  (0.8ms) DELETE FROM "refinery_roles";
585
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
586
-  (0.8ms) DELETE FROM "refinery_roles_users";
587
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
588
-  (0.9ms) DELETE FROM "refinery_user_plugins";
589
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
590
-  (1.1ms) DELETE FROM "refinery_users";
591
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
592
-  (1.0ms) DELETE FROM "seo_meta";
593
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
594
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' AND "refinery_copywriting_phrases"."page_id" = 22 ORDER BY scope, name LIMIT 1
595
-  (0.1ms) begin transaction
596
- Refinery::Copywriting::Phrase::Translation Load (0.3ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
597
- SQL (0.7ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page_id"], ["page_id", 22], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["value", nil]]
598
- SQL (0.7ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Mon, 16 Apr 2012 11:51:24 UTC +00:00], ["value", nil]]
599
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
600
-  (0.9ms) commit transaction
601
-  (0.1ms) begin transaction
602
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
603
-  (0.1ms) commit transaction
604
-  (0.0ms) begin transaction
605
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-16', "updated_at" = '2012-04-16 11:51:24.117961' WHERE "refinery_copywriting_phrases"."id" = 1
606
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
607
-  (0.7ms) commit transaction
608
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' ORDER BY scope, name LIMIT 1
609
-  (0.9ms) DELETE FROM "refinery_copywriting_phrase_translations";
610
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
611
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
612
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
613
-  (0.8ms) DELETE FROM "refinery_images";
614
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
615
-  (1.6ms) DELETE FROM "refinery_page_part_translations";
616
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
617
-  (0.9ms) DELETE FROM "refinery_page_parts";
618
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
619
-  (0.9ms) DELETE FROM "refinery_page_translations";
620
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
621
-  (0.9ms) DELETE FROM "refinery_pages";
622
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
623
-  (1.8ms) DELETE FROM "refinery_resources";
624
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
625
-  (0.8ms) DELETE FROM "refinery_roles";
626
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
627
-  (0.9ms) DELETE FROM "refinery_roles_users";
628
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
629
-  (0.9ms) DELETE FROM "refinery_user_plugins";
630
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
631
-  (0.8ms) DELETE FROM "refinery_users";
632
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
633
-  (1.0ms) DELETE FROM "seo_meta";
634
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
635
- Refinery::Copywriting::Phrase Load (0.8ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
636
-  (0.1ms) begin transaction
637
- Refinery::Copywriting::Phrase::Translation Load (0.6ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
638
- SQL (49.5ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
639
- SQL (1.6ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
640
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
641
-  (1.3ms) commit transaction
642
-  (0.0ms) begin transaction
643
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
644
-  (0.1ms) commit transaction
645
-  (0.0ms) begin transaction
646
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.192409' WHERE "refinery_copywriting_phrases"."id" = 1
647
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
648
-  (1.4ms) commit transaction
649
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
650
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
651
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
652
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
653
-  (1.3ms) DELETE FROM "refinery_images";
654
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
655
-  (2.1ms) DELETE FROM "refinery_page_part_translations";
656
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
657
-  (2.2ms) DELETE FROM "refinery_page_parts";
658
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
659
-  (2.5ms) DELETE FROM "refinery_page_translations";
660
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
661
-  (3.4ms) DELETE FROM "refinery_pages";
662
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
663
-  (1.3ms) DELETE FROM "refinery_resources";
664
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
665
-  (1.4ms) DELETE FROM "refinery_roles";
666
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
667
-  (2.3ms) DELETE FROM "refinery_roles_users";
668
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
669
-  (1.8ms) DELETE FROM "refinery_user_plugins";
670
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
671
-  (1.9ms) DELETE FROM "refinery_users";
672
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
673
-  (3.0ms) DELETE FROM "seo_meta";
674
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
675
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
676
-  (0.0ms) begin transaction
677
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
678
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
679
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
680
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
681
-  (1.1ms) commit transaction
682
-  (0.0ms) begin transaction
683
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
684
-  (0.1ms) commit transaction
685
-  (0.0ms) begin transaction
686
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.240384' WHERE "refinery_copywriting_phrases"."id" = 1
687
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
688
-  (1.2ms) commit transaction
689
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test two' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
690
-  (0.0ms) begin transaction
691
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
692
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "test just default"], ["last_access_at", nil], ["name", "test two"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
693
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
694
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
695
-  (1.2ms) commit transaction
696
-  (0.0ms) begin transaction
697
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
698
-  (0.0ms) commit transaction
699
-  (0.0ms) begin transaction
700
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.253385' WHERE "refinery_copywriting_phrases"."id" = 2
701
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
702
-  (1.2ms) commit transaction
703
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
704
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
705
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
706
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
707
-  (0.8ms) DELETE FROM "refinery_images";
708
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
709
-  (0.9ms) DELETE FROM "refinery_page_part_translations";
710
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
711
-  (0.8ms) DELETE FROM "refinery_page_parts";
712
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
713
-  (1.0ms) DELETE FROM "refinery_page_translations";
714
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
715
-  (1.2ms) DELETE FROM "refinery_pages";
716
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
717
-  (0.9ms) DELETE FROM "refinery_resources";
718
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
719
-  (0.9ms) DELETE FROM "refinery_roles";
720
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
721
-  (0.9ms) DELETE FROM "refinery_roles_users";
722
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
723
-  (1.0ms) DELETE FROM "refinery_user_plugins";
724
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
725
-  (1.1ms) DELETE FROM "refinery_users";
726
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
727
-  (0.9ms) DELETE FROM "seo_meta";
728
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
729
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
730
-  (0.0ms) begin transaction
731
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
732
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "this is a block"], ["last_access_at", nil], ["name", "test block"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
733
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
734
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
735
-  (1.0ms) commit transaction
736
-  (0.0ms) begin transaction
737
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
738
-  (0.0ms) commit transaction
739
-  (0.0ms) begin transaction
740
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.289626' WHERE "refinery_copywriting_phrases"."id" = 1
741
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
742
-  (1.1ms) commit transaction
743
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' ORDER BY scope, name LIMIT 1
744
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
745
-  (0.0ms) begin transaction
746
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
747
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
748
-  (0.1ms) commit transaction
749
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
750
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
751
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
752
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
753
-  (0.8ms) DELETE FROM "refinery_images";
754
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
755
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
756
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
757
-  (0.9ms) DELETE FROM "refinery_page_parts";
758
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
759
-  (1.0ms) DELETE FROM "refinery_page_translations";
760
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
761
-  (1.2ms) DELETE FROM "refinery_pages";
762
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
763
-  (0.7ms) DELETE FROM "refinery_resources";
764
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
765
-  (0.8ms) DELETE FROM "refinery_roles";
766
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
767
-  (1.0ms) DELETE FROM "refinery_roles_users";
768
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
769
-  (1.0ms) DELETE FROM "refinery_user_plugins";
770
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
771
-  (1.0ms) DELETE FROM "refinery_users";
772
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
773
-  (0.8ms) DELETE FROM "seo_meta";
774
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
775
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
776
-  (0.0ms) begin transaction
777
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
778
- SQL (0.6ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
779
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
780
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
781
-  (1.3ms) commit transaction
782
-  (0.0ms) begin transaction
783
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
784
-  (0.0ms) commit transaction
785
-  (0.0ms) begin transaction
786
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.329167' WHERE "refinery_copywriting_phrases"."id" = 1
787
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
788
-  (1.0ms) commit transaction
789
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' ORDER BY scope, name LIMIT 1
790
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
791
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
792
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
793
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
794
-  (0.8ms) DELETE FROM "refinery_images";
795
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
796
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
797
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
798
-  (0.9ms) DELETE FROM "refinery_page_parts";
799
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
800
-  (1.1ms) DELETE FROM "refinery_page_translations";
801
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
802
-  (1.2ms) DELETE FROM "refinery_pages";
803
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
804
-  (1.0ms) DELETE FROM "refinery_resources";
805
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
806
-  (0.9ms) DELETE FROM "refinery_roles";
807
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
808
-  (1.0ms) DELETE FROM "refinery_roles_users";
809
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
810
-  (1.1ms) DELETE FROM "refinery_user_plugins";
811
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
812
-  (0.9ms) DELETE FROM "refinery_users";
813
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
814
-  (0.9ms) DELETE FROM "seo_meta";
815
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
816
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
817
-  (0.0ms) begin transaction
818
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
819
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test without default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "without_default_scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
820
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
821
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
822
-  (1.2ms) commit transaction
823
-  (0.0ms) begin transaction
824
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
825
-  (0.1ms) commit transaction
826
-  (0.0ms) begin transaction
827
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.363785' WHERE "refinery_copywriting_phrases"."id" = 1
828
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
829
-  (0.8ms) commit transaction
830
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' ORDER BY scope, name LIMIT 1
831
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
832
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
833
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
834
-  (1.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
835
-  (0.8ms) DELETE FROM "refinery_images";
836
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
837
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
838
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
839
-  (0.8ms) DELETE FROM "refinery_page_parts";
840
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
841
-  (1.0ms) DELETE FROM "refinery_page_translations";
842
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
843
-  (1.1ms) DELETE FROM "refinery_pages";
844
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
845
-  (0.9ms) DELETE FROM "refinery_resources";
846
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
847
-  (0.8ms) DELETE FROM "refinery_roles";
848
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
849
-  (1.0ms) DELETE FROM "refinery_roles_users";
850
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
851
-  (0.9ms) DELETE FROM "refinery_user_plugins";
852
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
853
-  (0.7ms) DELETE FROM "refinery_users";
854
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
855
-  (1.0ms) DELETE FROM "seo_meta";
856
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
857
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
858
-  (0.1ms) begin transaction
859
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
860
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
861
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
862
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
863
-  (1.2ms) commit transaction
864
-  (0.0ms) begin transaction
865
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
866
-  (0.0ms) commit transaction
867
-  (0.0ms) begin transaction
868
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.397024' WHERE "refinery_copywriting_phrases"."id" = 1
869
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
870
-  (0.9ms) commit transaction
871
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
872
-  (0.0ms) begin transaction
873
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
874
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test outside default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
875
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
876
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
877
-  (1.2ms) commit transaction
878
-  (0.0ms) begin transaction
879
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
880
-  (0.0ms) commit transaction
881
-  (0.0ms) begin transaction
882
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.410790' WHERE "refinery_copywriting_phrases"."id" = 2
883
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
884
-  (1.0ms) commit transaction
885
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' ORDER BY scope, name LIMIT 1
886
-  (0.9ms) DELETE FROM "refinery_copywriting_phrase_translations";
887
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
888
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
889
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
890
-  (0.8ms) DELETE FROM "refinery_images";
891
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
892
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
893
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
894
-  (0.9ms) DELETE FROM "refinery_page_parts";
895
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
896
-  (1.0ms) DELETE FROM "refinery_page_translations";
897
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
898
-  (1.1ms) DELETE FROM "refinery_pages";
899
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
900
-  (0.9ms) DELETE FROM "refinery_resources";
901
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
902
-  (0.7ms) DELETE FROM "refinery_roles";
903
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
904
-  (0.9ms) DELETE FROM "refinery_roles_users";
905
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
906
-  (1.1ms) DELETE FROM "refinery_user_plugins";
907
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
908
-  (0.8ms) DELETE FROM "refinery_users";
909
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
910
-  (1.0ms) DELETE FROM "seo_meta";
911
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
912
-  (0.1ms) begin transaction
913
-  (0.0ms) rollback transaction
914
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
915
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
916
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
917
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
918
-  (0.9ms) DELETE FROM "refinery_images";
919
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
920
-  (0.9ms) DELETE FROM "refinery_page_part_translations";
921
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
922
-  (0.9ms) DELETE FROM "refinery_page_parts";
923
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
924
-  (0.8ms) DELETE FROM "refinery_page_translations";
925
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
926
-  (1.2ms) DELETE FROM "refinery_pages";
927
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
928
-  (0.8ms) DELETE FROM "refinery_resources";
929
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
930
-  (0.8ms) DELETE FROM "refinery_roles";
931
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
932
-  (1.0ms) DELETE FROM "refinery_roles_users";
933
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
934
-  (0.9ms) DELETE FROM "refinery_user_plugins";
935
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
936
-  (0.7ms) DELETE FROM "refinery_users";
937
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
938
-  (0.9ms) DELETE FROM "seo_meta";
939
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
940
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
941
-  (0.0ms) begin transaction
942
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
943
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
944
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
945
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
946
-  (0.9ms) commit transaction
947
-  (0.0ms) begin transaction
948
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
949
-  (0.1ms) commit transaction
950
-  (0.0ms) begin transaction
951
-  (0.4ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.462923' WHERE "refinery_copywriting_phrases"."id" = 1
952
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
953
-  (0.8ms) commit transaction
954
-  (1.1ms) DELETE FROM "refinery_copywriting_phrase_translations";
955
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
956
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
957
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
958
-  (0.7ms) DELETE FROM "refinery_images";
959
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
960
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
961
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
962
-  (0.7ms) DELETE FROM "refinery_page_parts";
963
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
964
-  (0.7ms) DELETE FROM "refinery_page_translations";
965
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
966
-  (1.1ms) DELETE FROM "refinery_pages";
967
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
968
-  (0.8ms) DELETE FROM "refinery_resources";
969
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
970
-  (0.8ms) DELETE FROM "refinery_roles";
971
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
972
-  (0.9ms) DELETE FROM "refinery_roles_users";
973
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
974
-  (0.9ms) DELETE FROM "refinery_user_plugins";
975
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
976
-  (0.9ms) DELETE FROM "refinery_users";
977
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
978
-  (0.9ms) DELETE FROM "seo_meta";
979
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
980
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
981
-  (0.0ms) begin transaction
982
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
983
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
984
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
985
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
986
-  (1.3ms) commit transaction
987
-  (0.0ms) begin transaction
988
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
989
-  (0.1ms) commit transaction
990
-  (0.0ms) begin transaction
991
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.496783' WHERE "refinery_copywriting_phrases"."id" = 1
992
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
993
-  (1.1ms) commit transaction
994
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
995
-  (0.0ms) begin transaction
996
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
997
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
998
-  (0.0ms) commit transaction
999
-  (0.1ms) SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
1000
-  (1.1ms) DELETE FROM "refinery_copywriting_phrase_translations";
1001
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1002
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1003
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1004
-  (0.8ms) DELETE FROM "refinery_images";
1005
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1006
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1007
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1008
-  (0.9ms) DELETE FROM "refinery_page_parts";
1009
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1010
-  (1.2ms) DELETE FROM "refinery_page_translations";
1011
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1012
-  (1.1ms) DELETE FROM "refinery_pages";
1013
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1014
-  (0.9ms) DELETE FROM "refinery_resources";
1015
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1016
-  (0.9ms) DELETE FROM "refinery_roles";
1017
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1018
-  (1.0ms) DELETE FROM "refinery_roles_users";
1019
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1020
-  (0.8ms) DELETE FROM "refinery_user_plugins";
1021
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1022
-  (1.0ms) DELETE FROM "refinery_users";
1023
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1024
-  (0.8ms) DELETE FROM "seo_meta";
1025
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1026
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1027
-  (0.0ms) begin transaction
1028
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1029
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1030
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1031
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1032
-  (1.2ms) commit transaction
1033
-  (0.0ms) begin transaction
1034
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1035
-  (0.1ms) commit transaction
1036
-  (0.0ms) begin transaction
1037
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.533930' WHERE "refinery_copywriting_phrases"."id" = 1
1038
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1039
-  (0.9ms) commit transaction
1040
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
1041
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1042
-  (0.0ms) begin transaction
1043
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:09:59.540167' WHERE "refinery_copywriting_phrases"."id" = 1
1044
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1 AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1045
-  (0.1ms) UPDATE "refinery_copywriting_phrase_translations" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:09:59.542510' WHERE "refinery_copywriting_phrase_translations"."id" = 1
1046
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1047
-  (1.5ms) commit transaction
1048
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1049
-  (0.1ms) begin transaction
1050
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1051
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1052
-  (0.1ms) commit transaction
1053
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
1054
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1055
-  (1.0ms) DELETE FROM "refinery_copywriting_phrases";
1056
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1057
-  (0.7ms) DELETE FROM "refinery_images";
1058
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1059
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1060
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1061
-  (0.9ms) DELETE FROM "refinery_page_parts";
1062
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1063
-  (1.1ms) DELETE FROM "refinery_page_translations";
1064
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1065
-  (1.1ms) DELETE FROM "refinery_pages";
1066
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1067
-  (0.8ms) DELETE FROM "refinery_resources";
1068
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1069
-  (0.9ms) DELETE FROM "refinery_roles";
1070
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1071
-  (0.9ms) DELETE FROM "refinery_roles_users";
1072
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1073
-  (1.2ms) DELETE FROM "refinery_user_plugins";
1074
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1075
-  (1.4ms) DELETE FROM "refinery_users";
1076
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1077
-  (0.9ms) DELETE FROM "seo_meta";
1078
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1079
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1080
-  (0.0ms) begin transaction
1081
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1082
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1083
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1084
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1085
-  (1.2ms) commit transaction
1086
-  (0.0ms) begin transaction
1087
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1088
-  (0.0ms) commit transaction
1089
-  (0.0ms) begin transaction
1090
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.583111' WHERE "refinery_copywriting_phrases"."id" = 1
1091
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1092
-  (0.9ms) commit transaction
1093
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
1094
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1095
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
1096
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1097
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1098
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1099
-  (0.8ms) DELETE FROM "refinery_images";
1100
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1101
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1102
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1103
-  (0.8ms) DELETE FROM "refinery_page_parts";
1104
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1105
-  (1.0ms) DELETE FROM "refinery_page_translations";
1106
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1107
-  (1.2ms) DELETE FROM "refinery_pages";
1108
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1109
-  (0.8ms) DELETE FROM "refinery_resources";
1110
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1111
-  (0.9ms) DELETE FROM "refinery_roles";
1112
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1113
-  (1.0ms) DELETE FROM "refinery_roles_users";
1114
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1115
-  (0.9ms) DELETE FROM "refinery_user_plugins";
1116
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1117
-  (0.8ms) DELETE FROM "refinery_users";
1118
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1119
-  (1.0ms) DELETE FROM "seo_meta";
1120
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1121
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1122
-  (0.0ms) begin transaction
1123
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1124
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_defaults"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1125
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1126
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1127
-  (1.2ms) commit transaction
1128
-  (0.0ms) begin transaction
1129
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1130
-  (0.0ms) commit transaction
1131
-  (0.0ms) begin transaction
1132
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.617099' WHERE "refinery_copywriting_phrases"."id" = 1
1133
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1134
-  (0.9ms) commit transaction
1135
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' ORDER BY scope, name LIMIT 1
1136
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1137
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
1138
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1139
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1140
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1141
-  (0.8ms) DELETE FROM "refinery_images";
1142
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1143
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1144
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1145
-  (0.8ms) DELETE FROM "refinery_page_parts";
1146
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1147
-  (0.9ms) DELETE FROM "refinery_page_translations";
1148
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1149
-  (1.0ms) DELETE FROM "refinery_pages";
1150
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1151
-  (0.7ms) DELETE FROM "refinery_resources";
1152
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1153
-  (0.8ms) DELETE FROM "refinery_roles";
1154
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1155
-  (0.9ms) DELETE FROM "refinery_roles_users";
1156
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1157
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1158
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1159
-  (0.8ms) DELETE FROM "refinery_users";
1160
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1161
-  (1.0ms) DELETE FROM "seo_meta";
1162
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1163
- 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
1164
-  (0.0ms) begin transaction
1165
- Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'test-page' OR "slug" LIKE 'test-page--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
1166
- SQL (0.6ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00]]
1167
- 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
1168
- 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", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00]]
1169
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
1170
- 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", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "test-page"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["view_template", nil]]
1171
-  (0.4ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2012-04-20 11:09:59.852725' WHERE "refinery_page_translations"."id" = 1
1172
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
1173
- SeoMetum Load (0.2ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
1174
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'test page', "slug" = 'test-page', "updated_at" = '2012-04-20 11:09:59.857166' WHERE "refinery_page_translations"."id" = 1
1175
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
1176
- 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
1177
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
1178
- 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" = 1 ORDER BY "lft")
1179
- Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
1180
- 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
1181
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
1182
-  (1.4ms) commit transaction
1183
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' AND "refinery_copywriting_phrases"."page_id" = 1 ORDER BY scope, name LIMIT 1
1184
-  (0.1ms) begin transaction
1185
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1186
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page"], ["page_id", 1], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1187
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1188
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1189
-  (1.2ms) commit transaction
1190
-  (0.0ms) begin transaction
1191
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1192
-  (0.1ms) commit transaction
1193
-  (0.0ms) begin transaction
1194
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.902866' WHERE "refinery_copywriting_phrases"."id" = 1
1195
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1196
-  (0.9ms) commit transaction
1197
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' ORDER BY scope, name LIMIT 1
1198
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
1199
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1200
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1201
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1202
-  (0.8ms) DELETE FROM "refinery_images";
1203
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1204
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1205
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1206
-  (0.8ms) DELETE FROM "refinery_page_parts";
1207
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1208
-  (1.0ms) DELETE FROM "refinery_page_translations";
1209
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1210
-  (1.0ms) DELETE FROM "refinery_pages";
1211
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1212
-  (0.8ms) DELETE FROM "refinery_resources";
1213
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1214
-  (0.8ms) DELETE FROM "refinery_roles";
1215
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1216
-  (0.9ms) DELETE FROM "refinery_roles_users";
1217
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1218
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1219
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1220
-  (0.7ms) DELETE FROM "refinery_users";
1221
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1222
-  (0.9ms) DELETE FROM "seo_meta";
1223
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1224
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' AND "refinery_copywriting_phrases"."page_id" = 22 ORDER BY scope, name LIMIT 1
1225
-  (0.1ms) begin transaction
1226
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1227
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page_id"], ["page_id", 22], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1228
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:09:59 UTC +00:00], ["value", nil]]
1229
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1230
-  (1.3ms) commit transaction
1231
-  (0.0ms) begin transaction
1232
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1233
-  (0.0ms) commit transaction
1234
-  (0.0ms) begin transaction
1235
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:09:59.937082' WHERE "refinery_copywriting_phrases"."id" = 1
1236
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1237
-  (0.8ms) commit transaction
1238
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' ORDER BY scope, name LIMIT 1
1239
-  (1.0ms) DELETE FROM "refinery_copywriting_phrase_translations";
1240
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1241
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1242
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1243
-  (0.7ms) DELETE FROM "refinery_images";
1244
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1245
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1246
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1247
-  (0.8ms) DELETE FROM "refinery_page_parts";
1248
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1249
-  (1.0ms) DELETE FROM "refinery_page_translations";
1250
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1251
-  (1.1ms) DELETE FROM "refinery_pages";
1252
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1253
-  (0.9ms) DELETE FROM "refinery_resources";
1254
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1255
-  (0.7ms) DELETE FROM "refinery_roles";
1256
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1257
-  (0.9ms) DELETE FROM "refinery_roles_users";
1258
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1259
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1260
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1261
-  (1.0ms) DELETE FROM "refinery_users";
1262
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1263
-  (1.1ms) DELETE FROM "seo_meta";
1264
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1265
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1266
-  (0.1ms) begin transaction
1267
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1268
- SQL (41.7ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:17 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:17 UTC +00:00], ["value", nil]]
1269
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1270
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1271
-  (2.7ms) commit transaction
1272
-  (0.1ms) begin transaction
1273
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1274
-  (0.1ms) commit transaction
1275
-  (0.0ms) begin transaction
1276
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.106766' WHERE "refinery_copywriting_phrases"."id" = 1
1277
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1278
-  (1.1ms) commit transaction
1279
-  (1.0ms) DELETE FROM "refinery_copywriting_phrase_translations";
1280
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1281
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1282
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1283
-  (0.8ms) DELETE FROM "refinery_images";
1284
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1285
-  (0.9ms) DELETE FROM "refinery_page_part_translations";
1286
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1287
-  (1.0ms) DELETE FROM "refinery_page_parts";
1288
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1289
-  (1.0ms) DELETE FROM "refinery_page_translations";
1290
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1291
-  (1.4ms) DELETE FROM "refinery_pages";
1292
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1293
-  (1.0ms) DELETE FROM "refinery_resources";
1294
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1295
-  (0.7ms) DELETE FROM "refinery_roles";
1296
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1297
-  (1.0ms) DELETE FROM "refinery_roles_users";
1298
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1299
-  (0.9ms) DELETE FROM "refinery_user_plugins";
1300
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1301
-  (0.9ms) DELETE FROM "refinery_users";
1302
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1303
-  (0.9ms) DELETE FROM "seo_meta";
1304
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1305
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1306
-  (0.0ms) begin transaction
1307
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1308
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "test"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1309
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1310
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1311
-  (1.3ms) commit transaction
1312
-  (0.0ms) begin transaction
1313
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1314
-  (0.1ms) commit transaction
1315
-  (0.0ms) begin transaction
1316
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.140591' WHERE "refinery_copywriting_phrases"."id" = 1
1317
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1318
-  (0.8ms) commit transaction
1319
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test two' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1320
-  (0.0ms) begin transaction
1321
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1322
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "test just default"], ["last_access_at", nil], ["name", "test two"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1323
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1324
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1325
-  (1.2ms) commit transaction
1326
-  (0.0ms) begin transaction
1327
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1328
-  (0.1ms) commit transaction
1329
-  (0.0ms) begin transaction
1330
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.153501' WHERE "refinery_copywriting_phrases"."id" = 2
1331
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1332
-  (1.0ms) commit transaction
1333
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
1334
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1335
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
1336
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1337
-  (1.2ms) DELETE FROM "refinery_images";
1338
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1339
-  (1.2ms) DELETE FROM "refinery_page_part_translations";
1340
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1341
-  (1.0ms) DELETE FROM "refinery_page_parts";
1342
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1343
-  (1.0ms) DELETE FROM "refinery_page_translations";
1344
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1345
-  (1.1ms) DELETE FROM "refinery_pages";
1346
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1347
-  (0.8ms) DELETE FROM "refinery_resources";
1348
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1349
-  (0.8ms) DELETE FROM "refinery_roles";
1350
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1351
-  (1.1ms) DELETE FROM "refinery_roles_users";
1352
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1353
-  (0.9ms) DELETE FROM "refinery_user_plugins";
1354
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1355
-  (0.8ms) DELETE FROM "refinery_users";
1356
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1357
-  (1.0ms) DELETE FROM "seo_meta";
1358
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1359
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1360
-  (0.0ms) begin transaction
1361
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1362
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "this is a block"], ["last_access_at", nil], ["name", "test block"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1363
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1364
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1365
-  (1.0ms) commit transaction
1366
-  (0.0ms) begin transaction
1367
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1368
-  (0.0ms) commit transaction
1369
-  (0.0ms) begin transaction
1370
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.190130' WHERE "refinery_copywriting_phrases"."id" = 1
1371
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1372
-  (0.8ms) commit transaction
1373
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' ORDER BY scope, name LIMIT 1
1374
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test block' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1375
-  (0.0ms) begin transaction
1376
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1377
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1378
-  (0.1ms) commit transaction
1379
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
1380
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1381
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1382
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1383
-  (0.8ms) DELETE FROM "refinery_images";
1384
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1385
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1386
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1387
-  (0.8ms) DELETE FROM "refinery_page_parts";
1388
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1389
-  (1.0ms) DELETE FROM "refinery_page_translations";
1390
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1391
-  (1.2ms) DELETE FROM "refinery_pages";
1392
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1393
-  (1.0ms) DELETE FROM "refinery_resources";
1394
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1395
-  (0.7ms) DELETE FROM "refinery_roles";
1396
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1397
-  (0.9ms) DELETE FROM "refinery_roles_users";
1398
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1399
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1400
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1401
-  (1.0ms) DELETE FROM "refinery_users";
1402
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1403
-  (1.0ms) DELETE FROM "seo_meta";
1404
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1405
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1406
-  (0.0ms) begin transaction
1407
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1408
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1409
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1410
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1411
-  (0.9ms) commit transaction
1412
-  (0.0ms) begin transaction
1413
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1414
-  (0.1ms) commit transaction
1415
-  (0.0ms) begin transaction
1416
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.227989' WHERE "refinery_copywriting_phrases"."id" = 1
1417
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1418
-  (1.2ms) commit transaction
1419
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' ORDER BY scope, name LIMIT 1
1420
-  (1.1ms) DELETE FROM "refinery_copywriting_phrase_translations";
1421
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1422
-  (0.7ms) DELETE FROM "refinery_copywriting_phrases";
1423
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1424
-  (0.7ms) DELETE FROM "refinery_images";
1425
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1426
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1427
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1428
-  (0.9ms) DELETE FROM "refinery_page_parts";
1429
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1430
-  (0.8ms) DELETE FROM "refinery_page_translations";
1431
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1432
-  (0.9ms) DELETE FROM "refinery_pages";
1433
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1434
-  (0.7ms) DELETE FROM "refinery_resources";
1435
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1436
-  (0.7ms) DELETE FROM "refinery_roles";
1437
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1438
-  (0.8ms) DELETE FROM "refinery_roles_users";
1439
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1440
-  (0.9ms) DELETE FROM "refinery_user_plugins";
1441
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1442
-  (0.7ms) DELETE FROM "refinery_users";
1443
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1444
-  (0.7ms) DELETE FROM "seo_meta";
1445
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1446
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1447
-  (0.0ms) begin transaction
1448
- Refinery::Copywriting::Phrase::Translation Load (0.3ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1449
- SQL (0.6ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test without default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "without_default_scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1450
- SQL (0.3ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1451
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1452
-  (0.9ms) commit transaction
1453
-  (0.0ms) begin transaction
1454
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1455
-  (0.1ms) commit transaction
1456
-  (0.0ms) begin transaction
1457
-  (0.4ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.263315' WHERE "refinery_copywriting_phrases"."id" = 1
1458
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1459
-  (0.7ms) commit transaction
1460
- Refinery::Copywriting::Phrase Load (0.4ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test without default scope' ORDER BY scope, name LIMIT 1
1461
-  (1.0ms) DELETE FROM "refinery_copywriting_phrase_translations";
1462
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1463
-  (0.6ms) DELETE FROM "refinery_copywriting_phrases";
1464
-  (0.6ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1465
-  (0.6ms) DELETE FROM "refinery_images";
1466
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1467
-  (0.9ms) DELETE FROM "refinery_page_part_translations";
1468
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1469
-  (0.8ms) DELETE FROM "refinery_page_parts";
1470
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1471
-  (0.7ms) DELETE FROM "refinery_page_translations";
1472
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1473
-  (1.1ms) DELETE FROM "refinery_pages";
1474
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1475
-  (0.6ms) DELETE FROM "refinery_resources";
1476
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1477
-  (0.6ms) DELETE FROM "refinery_roles";
1478
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1479
-  (0.7ms) DELETE FROM "refinery_roles_users";
1480
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1481
-  (0.7ms) DELETE FROM "refinery_user_plugins";
1482
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1483
-  (0.7ms) DELETE FROM "refinery_users";
1484
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1485
-  (0.9ms) DELETE FROM "seo_meta";
1486
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1487
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test with default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1488
-  (0.0ms) begin transaction
1489
- Refinery::Copywriting::Phrase::Translation Load (0.2ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1490
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test with default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default_scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1491
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1492
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1493
-  (0.9ms) commit transaction
1494
-  (0.0ms) begin transaction
1495
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1496
-  (0.1ms) commit transaction
1497
-  (0.0ms) begin transaction
1498
-  (0.4ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.296159' WHERE "refinery_copywriting_phrases"."id" = 1
1499
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1500
-  (0.9ms) commit transaction
1501
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1502
-  (0.0ms) begin transaction
1503
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1504
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test outside default scope"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1505
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 2], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1506
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1507
-  (1.0ms) commit transaction
1508
-  (0.0ms) begin transaction
1509
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1510
-  (0.0ms) commit transaction
1511
-  (0.0ms) begin transaction
1512
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.310411' WHERE "refinery_copywriting_phrases"."id" = 2
1513
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 2]]
1514
-  (1.0ms) commit transaction
1515
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test outside default scope' ORDER BY scope, name LIMIT 1
1516
-  (0.9ms) DELETE FROM "refinery_copywriting_phrase_translations";
1517
-  (1.2ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1518
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
1519
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1520
-  (0.7ms) DELETE FROM "refinery_images";
1521
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1522
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1523
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1524
-  (0.9ms) DELETE FROM "refinery_page_parts";
1525
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1526
-  (1.1ms) DELETE FROM "refinery_page_translations";
1527
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1528
-  (1.1ms) DELETE FROM "refinery_pages";
1529
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1530
-  (0.8ms) DELETE FROM "refinery_resources";
1531
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1532
-  (0.8ms) DELETE FROM "refinery_roles";
1533
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1534
-  (1.1ms) DELETE FROM "refinery_roles_users";
1535
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1536
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1537
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1538
-  (0.9ms) DELETE FROM "refinery_users";
1539
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1540
-  (0.9ms) DELETE FROM "seo_meta";
1541
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1542
-  (0.1ms) begin transaction
1543
-  (0.0ms) rollback transaction
1544
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
1545
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1546
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1547
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1548
-  (0.9ms) DELETE FROM "refinery_images";
1549
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1550
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1551
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1552
-  (1.0ms) DELETE FROM "refinery_page_parts";
1553
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1554
-  (0.8ms) DELETE FROM "refinery_page_translations";
1555
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1556
-  (1.1ms) DELETE FROM "refinery_pages";
1557
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1558
-  (0.8ms) DELETE FROM "refinery_resources";
1559
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1560
-  (0.9ms) DELETE FROM "refinery_roles";
1561
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1562
-  (1.2ms) DELETE FROM "refinery_roles_users";
1563
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1564
-  (1.3ms) DELETE FROM "refinery_user_plugins";
1565
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1566
-  (1.0ms) DELETE FROM "refinery_users";
1567
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1568
-  (1.0ms) DELETE FROM "seo_meta";
1569
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1570
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1571
-  (0.0ms) begin transaction
1572
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1573
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1574
- SQL (0.6ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1575
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1576
-  (1.0ms) commit transaction
1577
-  (0.0ms) begin transaction
1578
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1579
-  (0.1ms) commit transaction
1580
-  (0.0ms) begin transaction
1581
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.364809' WHERE "refinery_copywriting_phrases"."id" = 1
1582
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1583
-  (0.8ms) commit transaction
1584
-  (1.1ms) DELETE FROM "refinery_copywriting_phrase_translations";
1585
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1586
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1587
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1588
-  (0.8ms) DELETE FROM "refinery_images";
1589
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1590
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1591
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1592
-  (0.7ms) DELETE FROM "refinery_page_parts";
1593
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1594
-  (0.9ms) DELETE FROM "refinery_page_translations";
1595
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1596
-  (1.2ms) DELETE FROM "refinery_pages";
1597
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1598
-  (0.9ms) DELETE FROM "refinery_resources";
1599
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1600
-  (0.8ms) DELETE FROM "refinery_roles";
1601
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1602
-  (0.8ms) DELETE FROM "refinery_roles_users";
1603
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1604
-  (1.1ms) DELETE FROM "refinery_user_plugins";
1605
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1606
-  (0.8ms) DELETE FROM "refinery_users";
1607
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1608
-  (1.2ms) DELETE FROM "seo_meta";
1609
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1610
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1611
-  (0.0ms) begin transaction
1612
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1613
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1614
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1615
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1616
-  (1.2ms) commit transaction
1617
-  (0.0ms) begin transaction
1618
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1619
-  (0.1ms) commit transaction
1620
-  (0.0ms) begin transaction
1621
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.396136' WHERE "refinery_copywriting_phrases"."id" = 1
1622
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1623
-  (1.1ms) commit transaction
1624
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1625
-  (0.0ms) begin transaction
1626
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1627
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1628
-  (0.1ms) commit transaction
1629
-  (0.1ms) SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
1630
-  (1.3ms) DELETE FROM "refinery_copywriting_phrase_translations";
1631
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1632
-  (0.9ms) DELETE FROM "refinery_copywriting_phrases";
1633
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1634
-  (0.8ms) DELETE FROM "refinery_images";
1635
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1636
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1637
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1638
-  (0.9ms) DELETE FROM "refinery_page_parts";
1639
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1640
-  (1.0ms) DELETE FROM "refinery_page_translations";
1641
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1642
-  (1.0ms) DELETE FROM "refinery_pages";
1643
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1644
-  (0.9ms) DELETE FROM "refinery_resources";
1645
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1646
-  (0.9ms) DELETE FROM "refinery_roles";
1647
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1648
-  (1.1ms) DELETE FROM "refinery_roles_users";
1649
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1650
-  (0.9ms) DELETE FROM "refinery_user_plugins";
1651
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1652
-  (0.7ms) DELETE FROM "refinery_users";
1653
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1654
-  (1.0ms) DELETE FROM "seo_meta";
1655
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1656
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1657
-  (0.0ms) begin transaction
1658
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1659
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "text"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1660
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1661
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1662
-  (0.9ms) commit transaction
1663
-  (0.0ms) begin transaction
1664
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1665
-  (0.0ms) commit transaction
1666
-  (0.0ms) begin transaction
1667
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.432643' WHERE "refinery_copywriting_phrases"."id" = 1
1668
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1669
-  (1.0ms) commit transaction
1670
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
1671
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1672
-  (0.1ms) begin transaction
1673
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:10:18.437623' WHERE "refinery_copywriting_phrases"."id" = 1
1674
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1 AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1675
-  (0.1ms) UPDATE "refinery_copywriting_phrase_translations" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:10:18.439893' WHERE "refinery_copywriting_phrase_translations"."id" = 1
1676
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1677
-  (1.0ms) commit transaction
1678
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1679
-  (0.0ms) begin transaction
1680
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1681
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1682
-  (0.1ms) commit transaction
1683
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
1684
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1685
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1686
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1687
-  (0.8ms) DELETE FROM "refinery_images";
1688
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1689
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1690
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1691
-  (0.9ms) DELETE FROM "refinery_page_parts";
1692
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1693
-  (0.9ms) DELETE FROM "refinery_page_translations";
1694
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1695
-  (0.9ms) DELETE FROM "refinery_pages";
1696
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1697
-  (0.9ms) DELETE FROM "refinery_resources";
1698
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1699
-  (0.9ms) DELETE FROM "refinery_roles";
1700
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1701
-  (0.9ms) DELETE FROM "refinery_roles_users";
1702
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1703
-  (1.1ms) DELETE FROM "refinery_user_plugins";
1704
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1705
-  (0.8ms) DELETE FROM "refinery_users";
1706
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1707
-  (1.0ms) DELETE FROM "seo_meta";
1708
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1709
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1710
-  (0.0ms) begin transaction
1711
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1712
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", "default"], ["last_access_at", nil], ["name", "name"], ["page_id", nil], ["phrase_type", "wysiwyg"], ["scope", "scope"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1713
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1714
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1715
-  (1.3ms) commit transaction
1716
-  (0.0ms) begin transaction
1717
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1718
-  (0.1ms) commit transaction
1719
-  (0.0ms) begin transaction
1720
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.476680' WHERE "refinery_copywriting_phrases"."id" = 1
1721
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1722
-  (0.7ms) commit transaction
1723
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name' ORDER BY scope, name LIMIT 1
1724
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1725
-  (1.2ms) DELETE FROM "refinery_copywriting_phrase_translations";
1726
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1727
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1728
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1729
-  (0.9ms) DELETE FROM "refinery_images";
1730
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1731
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1732
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1733
-  (0.9ms) DELETE FROM "refinery_page_parts";
1734
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1735
-  (0.9ms) DELETE FROM "refinery_page_translations";
1736
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1737
-  (1.1ms) DELETE FROM "refinery_pages";
1738
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1739
-  (0.9ms) DELETE FROM "refinery_resources";
1740
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1741
-  (0.9ms) DELETE FROM "refinery_roles";
1742
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1743
-  (1.0ms) DELETE FROM "refinery_roles_users";
1744
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1745
-  (0.8ms) DELETE FROM "refinery_user_plugins";
1746
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1747
-  (1.0ms) DELETE FROM "refinery_users";
1748
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1749
-  (0.9ms) DELETE FROM "seo_meta";
1750
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1751
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' AND "refinery_copywriting_phrases"."page_id" IS NULL ORDER BY scope, name LIMIT 1
1752
-  (0.0ms) begin transaction
1753
- Refinery::Copywriting::Phrase::Translation Load (0.5ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1754
- SQL (0.7ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_defaults"], ["page_id", nil], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1755
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1756
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1757
-  (1.1ms) commit transaction
1758
-  (0.0ms) begin transaction
1759
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1760
-  (0.1ms) commit transaction
1761
-  (0.0ms) begin transaction
1762
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.515195' WHERE "refinery_copywriting_phrases"."id" = 1
1763
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1764
-  (0.9ms) commit transaction
1765
- Refinery::Copywriting::Phrase Load (0.3ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_defaults' ORDER BY scope, name LIMIT 1
1766
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" = 1
1767
-  (1.4ms) DELETE FROM "refinery_copywriting_phrase_translations";
1768
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1769
-  (1.2ms) DELETE FROM "refinery_copywriting_phrases";
1770
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1771
-  (0.7ms) DELETE FROM "refinery_images";
1772
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1773
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1774
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1775
-  (1.1ms) DELETE FROM "refinery_page_parts";
1776
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1777
-  (0.8ms) DELETE FROM "refinery_page_translations";
1778
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1779
-  (1.2ms) DELETE FROM "refinery_pages";
1780
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1781
-  (0.9ms) DELETE FROM "refinery_resources";
1782
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1783
-  (0.9ms) DELETE FROM "refinery_roles";
1784
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1785
-  (0.8ms) DELETE FROM "refinery_roles_users";
1786
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1787
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1788
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1789
-  (0.7ms) DELETE FROM "refinery_users";
1790
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1791
-  (1.0ms) DELETE FROM "seo_meta";
1792
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1793
- 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
1794
-  (0.1ms) begin transaction
1795
- Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'test-page' OR "slug" LIKE 'test-page--%') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
1796
- 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", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00]]
1797
- 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
1798
- SQL (0.3ms) 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", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00]]
1799
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
1800
- 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", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "test-page"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["view_template", nil]]
1801
-  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2012-04-20 11:10:18.756827' WHERE "refinery_page_translations"."id" = 1
1802
- 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
1803
- 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
1804
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'test page', "slug" = 'test-page', "updated_at" = '2012-04-20 11:10:18.759609' WHERE "refinery_page_translations"."id" = 1
1805
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
1806
- 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
1807
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
1808
- 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" = 1 ORDER BY "lft")
1809
- Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
1810
- 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
1811
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
1812
-  (1.9ms) commit transaction
1813
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' AND "refinery_copywriting_phrases"."page_id" = 1 ORDER BY scope, name LIMIT 1
1814
-  (0.1ms) begin transaction
1815
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1816
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page"], ["page_id", 1], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1817
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1818
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1819
-  (1.2ms) commit transaction
1820
-  (0.0ms) begin transaction
1821
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1822
-  (0.1ms) commit transaction
1823
-  (0.0ms) begin transaction
1824
-  (0.2ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.796320' WHERE "refinery_copywriting_phrases"."id" = 1
1825
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1826
-  (0.9ms) commit transaction
1827
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page' ORDER BY scope, name LIMIT 1
1828
-  (0.8ms) DELETE FROM "refinery_copywriting_phrase_translations";
1829
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1830
-  (0.8ms) DELETE FROM "refinery_copywriting_phrases";
1831
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1832
-  (0.8ms) DELETE FROM "refinery_images";
1833
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1834
-  (1.0ms) DELETE FROM "refinery_page_part_translations";
1835
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1836
-  (0.8ms) DELETE FROM "refinery_page_parts";
1837
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1838
-  (0.9ms) DELETE FROM "refinery_page_translations";
1839
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1840
-  (1.2ms) DELETE FROM "refinery_pages";
1841
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1842
-  (0.7ms) DELETE FROM "refinery_resources";
1843
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1844
-  (1.0ms) DELETE FROM "refinery_roles";
1845
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1846
-  (0.9ms) DELETE FROM "refinery_roles_users";
1847
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1848
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1849
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1850
-  (1.0ms) DELETE FROM "refinery_users";
1851
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1852
-  (0.8ms) DELETE FROM "seo_meta";
1853
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'seo_meta';
1854
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' AND "refinery_copywriting_phrases"."page_id" = 22 ORDER BY scope, name LIMIT 1
1855
-  (0.0ms) begin transaction
1856
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."refinery_copywriting_phrase_id" IS NULL AND "refinery_copywriting_phrase_translations"."locale" = 'en' LIMIT 1
1857
- SQL (0.4ms) INSERT INTO "refinery_copywriting_phrases" ("created_at", "default", "last_access_at", "name", "page_id", "phrase_type", "scope", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["default", nil], ["last_access_at", nil], ["name", "test_page_id"], ["page_id", 22], ["phrase_type", "text"], ["scope", "default"], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1858
- SQL (0.2ms) INSERT INTO "refinery_copywriting_phrase_translations" ("created_at", "locale", "refinery_copywriting_phrase_id", "updated_at", "value") VALUES (?, ?, ?, ?, ?) [["created_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["locale", "en"], ["refinery_copywriting_phrase_id", 1], ["updated_at", Fri, 20 Apr 2012 11:10:18 UTC +00:00], ["value", nil]]
1859
- Refinery::Copywriting::Phrase::Translation Load (0.0ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1860
-  (1.6ms) commit transaction
1861
-  (0.1ms) begin transaction
1862
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1863
-  (0.1ms) commit transaction
1864
-  (0.0ms) begin transaction
1865
-  (0.3ms) UPDATE "refinery_copywriting_phrases" SET "last_access_at" = '2012-04-20', "updated_at" = '2012-04-20 11:10:18.832597' WHERE "refinery_copywriting_phrases"."id" = 1
1866
- Refinery::Copywriting::Phrase::Translation Load (0.1ms) SELECT "refinery_copywriting_phrase_translations".* FROM "refinery_copywriting_phrase_translations" WHERE "refinery_copywriting_phrase_translations"."id" = ? LIMIT 1 [["id", 1]]
1867
-  (0.9ms) commit transaction
1868
- Refinery::Copywriting::Phrase Load (0.2ms) SELECT "refinery_copywriting_phrases".* FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'test_page_id' ORDER BY scope, name LIMIT 1
1869
-  (1.0ms) DELETE FROM "refinery_copywriting_phrase_translations";
1870
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
1871
-  (1.0ms) DELETE FROM "refinery_copywriting_phrases";
1872
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
1873
-  (0.8ms) DELETE FROM "refinery_images";
1874
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';
1875
-  (0.8ms) DELETE FROM "refinery_page_part_translations";
1876
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
1877
-  (1.0ms) DELETE FROM "refinery_page_parts";
1878
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
1879
-  (1.0ms) DELETE FROM "refinery_page_translations";
1880
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
1881
-  (1.1ms) DELETE FROM "refinery_pages";
1882
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';
1883
-  (0.9ms) DELETE FROM "refinery_resources";
1884
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';
1885
-  (0.9ms) DELETE FROM "refinery_roles";
1886
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';
1887
-  (0.9ms) DELETE FROM "refinery_roles_users";
1888
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
1889
-  (1.0ms) DELETE FROM "refinery_user_plugins";
1890
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
1891
-  (0.8ms) DELETE FROM "refinery_users";
1892
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';
1893
-  (0.9ms) DELETE FROM "seo_meta";
1894
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';