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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (2.3ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.2ms)  commit transaction
   (1.5ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.4ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.3ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.0ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.0ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.2ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.1ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.1ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.4ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.1ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.2ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.3ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.0ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.2ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.1ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.0ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.2ms)  commit transaction
  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
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (1.0ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.2ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.1ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.0ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.7ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.3ms)  commit transaction
  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
   (1.5ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.2ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.0ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.3ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.3ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.4ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.3ms)  commit transaction
  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
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.1ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.1ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.2ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.1ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.2ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.2ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.7ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.6ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.3ms)  DELETE FROM "refinery_page_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
   (0.9ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.0ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.9ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.8ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.0ms)  commit transaction
   (0.1ms)  SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.6ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.8ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
  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
   (0.0ms)  begin transaction
   (0.2ms)  UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-16 11:51:23.679625' WHERE "refinery_copywriting_phrases"."id" = 1
  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
   (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
  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]]
   (1.2ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.0ms)  commit transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.3ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.0ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.1ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.7ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.8ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.7ms)  commit transaction
  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
  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
   (0.9ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (0.9ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.6ms)  commit transaction
  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
  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
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.0ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.1ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.4ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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
  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]]
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
  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]]
   (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
  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
  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
   (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
  Refinery::Page::Translation Load (0.1ms)  SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1  [["id", 1]]
  Refinery::Page Load (0.2ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE ("refinery_pages"."id" >= 0) ORDER BY "refinery_pages"."id" ASC LIMIT 500
  Refinery::Page::Translation Load (0.1ms)  SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
  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
  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
  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
  Refinery::Page Load (0.2ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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")
  Refinery::Page Load (0.0ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
   (1.4ms)  commit transaction
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
  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
   (1.0ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.0ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.1ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.1ms)  DELETE FROM "refinery_page_translations";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.7ms)  commit transaction
  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
   (0.9ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.7ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.6ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (0.9ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.4ms)  commit transaction
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (1.3ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (2.1ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (2.2ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (2.5ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (3.4ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.3ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.4ms)  DELETE FROM "refinery_roles";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (2.3ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.8ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.9ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (3.0ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.1ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.2ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.2ms)  commit transaction
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.9ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.1ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.0ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
  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
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.8ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.1ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.0ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.1ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.9ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
  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
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (1.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (0.9ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.7ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.1ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.9ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
   (1.1ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.7ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.7ms)  DELETE FROM "refinery_page_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.9ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.0ms)  commit transaction
   (0.1ms)  SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
   (1.1ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.2ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.8ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.8ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
  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
   (0.0ms)  begin transaction
   (0.2ms)  UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:09:59.540167' WHERE "refinery_copywriting_phrases"."id" = 1
  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
   (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
  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]]
   (1.5ms)  commit transaction
  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
   (0.1ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.0ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.1ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.2ms)  DELETE FROM "refinery_user_plugins";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.4ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
  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
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
  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
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.0ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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
  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]]
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
  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]]
   (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
  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
  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
   (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
  Refinery::Page::Translation Load (0.1ms)  SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1  [["id", 1]]
  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
  Refinery::Page Load (0.2ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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")
  Refinery::Page Load (0.0ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
   (1.4ms)  commit transaction
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.0ms)  DELETE FROM "refinery_pages";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
  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
   (1.0ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.7ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.1ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (2.7ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
   (1.0ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.9ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.4ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.0ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.7ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.9ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (1.2ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.2ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.1ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.0ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
  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
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (1.0ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.7ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.2ms)  commit transaction
  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
   (1.1ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.7ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.7ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (0.9ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.7ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.7ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.7ms)  commit transaction
  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
   (1.0ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.7ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.6ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.6ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.6ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.9ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.7ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.6ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.6ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.7ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.7ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.0ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (0.9ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.7ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.1ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.1ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.9ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.8ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.2ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.3ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.0ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.8ms)  commit transaction
   (1.1ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.7ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.8ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.1ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.2ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.1ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (0.1ms)  SELECT COUNT(*) FROM "refinery_copywriting_phrases" WHERE "refinery_copywriting_phrases"."name" = 'name'
   (1.3ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.9ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.0ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.1ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.9ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (0.9ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.0ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (1.0ms)  commit transaction
  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
  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
   (0.1ms)  begin transaction
   (0.2ms)  UPDATE "refinery_copywriting_phrases" SET "value" = 'updated!', "updated_at" = '2012-04-20 11:10:18.437623' WHERE "refinery_copywriting_phrases"."id" = 1
  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
   (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
  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]]
   (1.0ms)  commit transaction
  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
   (0.0ms)  begin transaction
  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
  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]]
   (0.1ms)  commit transaction
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (0.9ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.1ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.3ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.7ms)  commit transaction
  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
  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
   (1.2ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.7ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.9ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.9ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (1.0ms)  DELETE FROM "refinery_roles_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (0.8ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.1ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
  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
   (1.4ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.2ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.7ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.1ms)  DELETE FROM "refinery_page_parts";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.8ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.8ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.7ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (1.0ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.1ms)  begin transaction
  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
  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]]
  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
  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]]
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "rgt" desc LIMIT 1
  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]]
   (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
  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
  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
   (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
  Refinery::Page::Translation Load (0.1ms)  SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1  [["id", 1]]
  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
  Refinery::Page Load (0.2ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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")
  Refinery::Page Load (0.0ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1  [["id", 1]]
  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
  Refinery::Page Load (0.1ms)  SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 ORDER BY lft
   (1.9ms)  commit transaction
  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
   (0.1ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.2ms)  commit transaction
   (0.0ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
   (0.8ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (0.8ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (1.0ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (0.8ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (0.9ms)  DELETE FROM "refinery_page_translations";
   (1.0ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.2ms)  DELETE FROM "refinery_pages";
   (0.8ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.7ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (1.0ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (1.0ms)  DELETE FROM "refinery_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.8ms)  DELETE FROM "seo_meta";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';
  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
   (0.0ms)  begin transaction
  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
  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]]
  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]]
  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]]
   (1.6ms)  commit transaction
   (0.1ms)  begin transaction
  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]]
   (0.1ms)  commit transaction
   (0.0ms)  begin transaction
   (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
  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]]
   (0.9ms)  commit transaction
  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
   (1.0ms)  DELETE FROM "refinery_copywriting_phrase_translations";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrase_translations';
   (1.0ms)  DELETE FROM "refinery_copywriting_phrases";
   (0.9ms)  DELETE FROM sqlite_sequence where name = 'refinery_copywriting_phrases';
   (0.8ms)  DELETE FROM "refinery_images";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_images';
   (0.8ms)  DELETE FROM "refinery_page_part_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';
   (1.0ms)  DELETE FROM "refinery_page_parts";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_parts';
   (1.0ms)  DELETE FROM "refinery_page_translations";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_page_translations';
   (1.1ms)  DELETE FROM "refinery_pages";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_pages';
   (0.9ms)  DELETE FROM "refinery_resources";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_resources';
   (0.9ms)  DELETE FROM "refinery_roles";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles';
   (0.9ms)  DELETE FROM "refinery_roles_users";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_roles_users';
   (1.0ms)  DELETE FROM "refinery_user_plugins";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';
   (0.8ms)  DELETE FROM "refinery_users";
   (0.2ms)  DELETE FROM sqlite_sequence where name = 'refinery_users';
   (0.9ms)  DELETE FROM "seo_meta";
   (0.1ms)  DELETE FROM sqlite_sequence where name = 'seo_meta';