Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (6.4ms) CREATE TABLE "support_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')  (2.3ms) CREATE TABLE "support_another_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (3.8ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 2' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_2' LIMIT 1 SQL (2.8ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_2"], ["title", "Menu 2"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (50.5ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 3' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_3' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_3"], ["title", "Menu 3"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 4' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_4' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_4"], ["title", "Menu 4"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 5' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_5' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_5"], ["title", "Menu 5"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 6' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_6' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_6"], ["title", "Menu 6"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 7' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_7' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_7"], ["title", "Menu 7"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 8' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_8' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_8"], ["title", "Menu 8"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 9' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_9' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_9"], ["title", "Menu 9"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 10' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_10' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_10"], ["title", "Menu 10"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 11' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_11' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_11"], ["title", "Menu 11"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 12' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_12' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_12"], ["title", "Menu 12"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 13' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_13' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_13"], ["title", "Menu 13"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 14' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_14' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_14"], ["title", "Menu 14"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 15' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_15' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_15"], ["title", "Menu 15"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 16' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_16' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_16"], ["title", "Menu 16"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 17' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_17' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_17"], ["title", "Menu 17"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 18' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_18' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_18"], ["title", "Menu 18"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 19' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_19' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_19"], ["title", "Menu 19"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 20' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_20' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_20"], ["title", "Menu 20"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 21' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_21' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_21"], ["title", "Menu 21"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 22' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_22' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_22"], ["title", "Menu 22"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 23' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_23' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_23"], ["title", "Menu 23"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 24' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_24' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_24"], ["title", "Menu 24"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 25' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_25' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_25"], ["title", "Menu 25"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 26' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_26' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_26"], ["title", "Menu 26"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 27' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_27' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_27"], ["title", "Menu 27"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 28' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_28' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_28"], ["title", "Menu 28"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 29' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_29' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = '' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_30' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'second-menu' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 30' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = '' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Second Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 31' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_31' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_31"], ["title", "Menu 31"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 31' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_31' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 32' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_32' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_32"], ["title", "Menu 32"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "/myurl"], ["depth", nil], ["id_attribute", nil], ["label", "/myurl"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 33' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_33' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_33"], ["title", "Menu 33"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 AND "refinery_menus_links"."id" IN (1) ORDER BY lft ASC  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.2ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 34' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_34' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00], ["permatitle", "menu_34"], ["title", "Menu 34"], ["updated_at", Mon, 04 Feb 2013 14:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 35' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_35' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:28 UTC +00:00], ["permatitle", "menu_35"], ["title", "Menu 35"], ["updated_at", Mon, 04 Feb 2013 14:47:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.8ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$A4LJSFz0QOVVqdAVrqpEyOlBWMS9xstdbkWi.6KBAXtvjQWedeR5K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:28 UTC +00:00], ["username", "refinerycms"]]  (0.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:28 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-authentication-2.0.9/app/views/refinery/sessions/new.html.erb within refinery/layouts/login (24.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (8.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.7ms) Completed 200 OK in 144ms (Views: 124.4ms | ActiveRecord: 0.3ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:28 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:28.695629', "current_sign_in_at" = '2013-02-04 14:47:28.695629', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:28.696964' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 42ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:28 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (173.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (176.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (20.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/index.html.erb within layouts/refinery/admin (202.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (5.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (5.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 257ms (Views: 244.1ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:47:28 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/index.html.erb within layouts/refinery/admin (6.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 27.6ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$Ql77EEpmU1SHmyEPLqS.kOgayxVIrU6kSytOC74kqP52RUkeTkeei"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (60.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (61.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 69.5ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:29.174130', "current_sign_in_at" = '2013-02-04 14:47:29.174130', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:29.175190' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (12.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 37ms (Views: 28.3ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 36' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_36' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["permatitle", "menu_36"], ["title", "Menu 36"], ["updated_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus"  Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (24.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (28.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 40.9ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$v/KrKzRZ1AT5zXgue/ITd.e4zsCGgC0G38t5KMMdaQhF7XwTCDI5u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:29.422179', "current_sign_in_at" = '2013-02-04 14:47:29.422179', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:29.423135' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 29.0ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 37' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_37' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["permatitle", "menu_37"], ["title", "Menu 37"], ["updated_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (4.4ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (5.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 17.8ms | ActiveRecord: 0.7ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (4.4ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (12.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (16.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (6.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 72ms (Views: 61.7ms | ActiveRecord: 0.8ms) Started PUT "/menus/refinery/menus/1" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Menus::Admin::MenusController#update as HTML Parameters: {"utf8"=>"✓", "menu"=>{"title"=>"Updated Menu"}, "id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" LEFT OUTER JOIN "refinery_menus_links" AS parent ON "refinery_menus_links"."parent_id" = parent.id WHERE ("refinery_menus_links"."lft" IS NULL OR "refinery_menus_links"."rgt" IS NULL OR "refinery_menus_links"."lft" >= "refinery_menus_links"."rgt" OR ("refinery_menus_links"."parent_id" IS NOT NULL AND ("refinery_menus_links"."lft" <= parent."lft" OR "refinery_menus_links"."rgt" >= parent."rgt"))) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", COUNT("refinery_menus_links"."lft") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."lft" HAVING COUNT("refinery_menus_links"."lft") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."rgt", COUNT("refinery_menus_links"."rgt") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."rgt" HAVING COUNT("refinery_menus_links"."rgt") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" IS NULL ORDER BY "refinery_menus_links"."lft"  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Updated Menu' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_37' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) UPDATE "refinery_menus" SET "title" = 'Updated Menu', "updated_at" = '2013-02-04 14:47:29.617305' WHERE "refinery_menus"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/menus/refinery/menus Completed 302 Found in 20ms (ActiveRecord: 1.4ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:47:29 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (4.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (5.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 26ms (Views: 18.3ms | ActiveRecord: 0.7ms)  (1.0ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.0ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$PXkvSNUj4y21laI4aOxTSOXK4Pi9o6ViCBB5kSju/f6a3thTSyn/W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:29 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.0ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:31 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 12.6ms | ActiveRecord: 1.5ms) Started GET "/assets/refinery/refinery.css" for 127.0.0.1 at 2013-02-04 15:47:31 +0100 Compiled refinery/layout.css (1066ms) (pid 21886) Compiled refinery/site_bar.css (42ms) (pid 21886) Compiled refinery/ui.css (47ms) (pid 21886) Compiled refinery/submenu.css (13ms) (pid 21886) Compiled refinery/tooltips.css (102ms) (pid 21886) Compiled wymeditor/skins/refinery/skin.css (246ms) (pid 21886) Compiled refinery/refinery.css (1591ms) (pid 21886) Served asset /refinery/refinery.css - 200 OK (1736ms) Started GET "/assets/refinery/wymeditor.js" for 127.0.0.1 at 2013-02-04 15:47:32 +0100 Compiled wymeditor/setup.js (19ms) (pid 21886) Compiled wymeditor/functions.js (6ms) (pid 21886) Compiled wymeditor/prototypes.js (93ms) (pid 21886) Compiled wymeditor/classes.js (40ms) (pid 21886) Compiled wymeditor/validators.js (80ms) (pid 21886) Compiled wymeditor/browsers/ie.js (6ms) (pid 21886) Compiled wymeditor/browsers/mozilla.js (8ms) (pid 21886) Compiled wymeditor/browsers/opera.js (3ms) (pid 21886) Compiled wymeditor/browsers/webkit.js (8ms) (pid 21886) Compiled refinery/boot_wym.js (9ms) (pid 21886) Compiled refinery/wymeditor.js (424ms) (pid 21886) Served asset /refinery/wymeditor.js - 200 OK (440ms) Started GET "/assets/refinery/refinery.js" for 127.0.0.1 at 2013-02-04 15:47:33 +0100 Compiled jquery.js (2ms) (pid 21886) Compiled jquery_ujs.js (0ms) (pid 21886) Compiled jquery-ui.js (3ms) (pid 21886) Compiled modernizr-min.js (0ms) (pid 21886) Compiled jquery/jquery.corner.js (0ms) (pid 21886) Compiled jquery/jquery.textTruncate.js (0ms) (pid 21886) Compiled jquery/jquery.html5-placeholder-shim.js (0ms) (pid 21886) Compiled jquery/jquery.timers.js (0ms) (pid 21886) Compiled jquery/jquery.jcarousel.js (0ms) (pid 21886) Compiled admin.js (0ms) (pid 21886) Compiled refinery/core.js (0ms) (pid 21886) Compiled refinery/site_bar.js (0ms) (pid 21886) Compiled refinery/admin.js (29ms) (pid 21886) Compiled refinery/submenu.js (2ms) (pid 21886) Compiled refinery/interface.js (269ms) (pid 21886) Compiled refinery/sortable_menu.js (83ms) (pid 21886) Compiled refinery/submit_continue.js (85ms) (pid 21886) Compiled refinery/ajaxy_pagination.js (90ms) (pid 21886) Compiled refinery/refinery.js (972ms) (pid 21886) Served asset /refinery/refinery.js - 200 OK (1066ms) Started GET "/assets/wymeditor/lang/en.js" for 127.0.0.1 at 2013-02-04 15:47:34 +0100 Compiled wymeditor/lang/en.js (0ms) (pid 21886) Served asset /wymeditor/lang/en.js - 200 OK (13ms) Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:47:34 +0100 Served asset /admin.js - 200 OK (9ms) Started GET "/assets/wymeditor/skins/refinery/skin.js" for 127.0.0.1 at 2013-02-04 15:47:34 +0100 Compiled wymeditor/skins/refinery/skin.js (0ms) (pid 21886) Served asset /wymeditor/skins/refinery/skin.js - 200 OK (15ms) Started GET "/assets/refinery/page_bg.png" for 127.0.0.1 at 2013-02-04 15:47:34 +0100 Served asset /refinery/page_bg.png - 200 OK (75ms) Started GET "/assets/refinery/text_field_background.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/text_field_background.png - 200 OK (8ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:47:35 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 38' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_38' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:35 UTC +00:00], ["permatitle", "menu_38"], ["title", "Menu 38"], ["updated_at", Mon, 04 Feb 2013 14:47:35 UTC +00:00]]  (1.9ms) commit transaction Served asset /refinery/ajax-loader.gif - 200 OK (21ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:35.095824', "current_sign_in_at" = '2013-02-04 14:47:35.095824', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:35.096845' WHERE "refinery_users"."id" = 1  (1.5ms) commit transaction Redirected to http://127.0.0.1:7758/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 20ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (14.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 46ms (Views: 32.2ms | ActiveRecord: 2.1ms) Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/tick.png - 200 OK (20ms) Started GET "/assets/refinery/nav_inactive_background.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/nav_inactive_background.png - 200 OK (79ms) Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/orange_button.png - 200 OK (10ms) Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/arrow_switch.png - 200 OK (12ms) Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/logo-site-bar.png - 200 OK (9ms) Started GET "/assets/refinery/icons/accept.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/accept.png - 200 OK (11ms) Started GET "/assets/refinery/icons/add.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/add.png - 200 OK (7ms) Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/application_edit.png - 200 OK (7ms) Started GET "/assets/refinery/icons/flags/en.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/icons/flags/en.png - 200 OK (75ms) Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/carousel-right.png - 200 OK (7ms) Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Served asset /refinery/carousel-left.png - 200 OK (8ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (8.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (5.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (8.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 32.7ms | ActiveRecord: 1.8ms) Started GET "/assets/refinery/nestedsortables.js" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Compiled refinery/nestedsortables.js (1ms) (pid 21886) Served asset /refinery/nestedsortables.js - 200 OK (22ms) Started GET "/assets/refinery/select_form.css" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Compiled refinery/select_form.css (63ms) (pid 21886) Served asset /refinery/select_form.css - 200 OK (149ms) Started GET "/assets/refinery/serializelist.js" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Compiled refinery/serializelist.js (0ms) (pid 21886) Served asset /refinery/serializelist.js - 200 OK (14ms) Started GET "/assets/refinery/tree.js" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Compiled refinery/tree.js (0ms) (pid 21886) Served asset /refinery/tree.js - 200 OK (14ms) Started GET "/assets/refinery/backend.js" for 127.0.0.1 at 2013-02-04 15:47:35 +0100 Compiled refinery/backend.js (104ms) (pid 21886) Served asset /refinery/backend.js - 200 OK (121ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>"Google"}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.1ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (5.8ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (30.3ms) Completed 200 OK in 188ms (Views: 165.8ms | ActiveRecord: 4.4ms) Started GET "/assets/refinery/icons/down.gif" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Served asset /refinery/icons/down.gif - 200 OK (9ms)  (1.0ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.4ms) DELETE FROM "refinery_menus";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (1.5ms) DELETE FROM "refinery_menus_links";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.6ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (2.1ms) DELETE FROM "refinery_page_parts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (1.8ms) DELETE FROM "refinery_page_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (1.6ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.4ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.4ms) DELETE FROM "refinery_roles";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.7ms) DELETE FROM "refinery_roles_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.6ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.5ms) DELETE FROM "refinery_users";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.1ms) DELETE FROM "seo_meta";  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.6ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.5ms) DELETE FROM "support_another_resource";  (0.2ms) DELETE FROM sqlite_sequence where name = 'support_another_resource'; Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.9ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:36 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$MTDiHMT62JZ4FRtAH0vFLOlFYTNcjl6Sso8FP/ypWz.gzSp787QIS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:36 UTC +00:00], ["username", "refinerycms"]]  (0.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.8ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.3ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 20ms (Views: 14.4ms | ActiveRecord: 0.4ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:47:36 +0100  (0.1ms) begin transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 39' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_39' LIMIT 1 SQL (0.7ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:36 UTC +00:00], ["permatitle", "menu_39"], ["title", "Menu 39"], ["updated_at", Mon, 04 Feb 2013 14:47:36 UTC +00:00]]  (1.9ms) commit transaction Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:36.601578', "current_sign_in_at" = '2013-02-04 14:47:36.601578', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:36.602703' WHERE "refinery_users"."id" = 1  (1.5ms) commit transaction Redirected to http://127.0.0.1:7758/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 21ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.2ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (14.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 43ms (Views: 31.5ms | ActiveRecord: 1.5ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (7.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (5.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (8.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 32.2ms | ActiveRecord: 1.1ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:47:36 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (169.3ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (5.2ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (9.3ms) Completed 200 OK in 198ms (Views: 12.8ms | ActiveRecord: 171.1ms)  (68.8ms) DELETE FROM "refinery_images";  (0.3ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (214.8ms) DELETE FROM "refinery_menus";  (10.2ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.7ms) DELETE FROM "refinery_menus_links";  (4.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (2.0ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (5.1ms) DELETE FROM "refinery_page_parts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (7.5ms) DELETE FROM "refinery_page_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (8.4ms) DELETE FROM "refinery_pages";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.8ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (2.1ms) DELETE FROM "refinery_roles";  (2.5ms) 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';  (2.6ms) DELETE FROM "refinery_user_plugins";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.8ms) DELETE FROM "refinery_users";  (1.9ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.2ms) DELETE FROM "seo_meta";  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (2.3ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.5ms) DELETE FROM "support_another_resource";  (0.2ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$sq2ZrGXDEtajsKOCx42V7uchYY5zwxSC5q.5KjEGHjAwy9PbAjxwG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.4ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:37.675112', "current_sign_in_at" = '2013-02-04 14:47:37.675112', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:37.676204' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 29.0ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 40' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_40' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["permatitle", "menu_40"], ["title", "Menu 40"], ["updated_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (5.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 38ms (Views: 28.6ms | ActiveRecord: 0.7ms)  (0.8ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.7ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$FWIUKbkbKxux8QG4XDM0seIVYTo5Ry7ZGVZIjs1MUQoN/altSHhji"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (2.5ms) commit transaction  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.8ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.4ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:47:37 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 41' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_41' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00], ["permatitle", "menu_41"], ["title", "Menu 41"], ["updated_at", Mon, 04 Feb 2013 14:47:37 UTC +00:00]]  (2.1ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) begin transaction  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:37.964057', "current_sign_in_at" = '2013-02-04 14:47:37.964057', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:37.965011' WHERE "refinery_users"."id" = 1  (1.2ms) commit transaction Redirected to http://127.0.0.1:7758/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 18ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:37 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (14.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 40ms (Views: 30.0ms | ActiveRecord: 1.3ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:38 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (7.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 30.6ms | ActiveRecord: 1.0ms)  (2.3ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (2.0ms) DELETE FROM "refinery_menus";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.0ms) DELETE FROM "refinery_menus_links";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.6ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.6ms) DELETE FROM "refinery_page_parts";  (0.2ms) 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';  (2.1ms) 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';  (1.3ms) DELETE FROM "refinery_roles";  (1.6ms) 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';  (2.1ms) DELETE FROM "refinery_user_plugins";  (2.1ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.7ms) DELETE FROM "refinery_users";  (1.6ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.4ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.5ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.8ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$XNRAV0lYW3iZq.M.CKHhlueBIfC8ivQFeO.lCioG6TVVjMGuLVNeK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:40.424709', "current_sign_in_at" = '2013-02-04 14:47:40.424709', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:40.425766' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (14.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 40ms (Views: 30.5ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 42' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_42' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["permatitle", "menu_42"], ["title", "Menu 42"], ["updated_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (4.6ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (12.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.6ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (6.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (28.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 51.3ms | ActiveRecord: 1.1ms)  (1.0ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.2ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.9ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$jKyn..qx8DVOxOJVzGKQberQCnWTw9KcfEjaUcEbhkqIBJKpbgyfO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.2ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:47:40 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 43' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_43' LIMIT 1 Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00], ["permatitle", "menu_43"], ["title", "Menu 43"], ["updated_at", Mon, 04 Feb 2013 14:47:40 UTC +00:00]]  (1.6ms) commit transaction  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.2ms) commit transaction  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (1.9ms) commit transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:40.841068', "current_sign_in_at" = '2013-02-04 14:47:40.841068', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:40.842073' WHERE "refinery_users"."id" = 1  (1.7ms) commit transaction Redirected to http://127.0.0.1:7758/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 19ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:40 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 40ms (Views: 29.7ms | ActiveRecord: 1.2ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.3ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.4ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (6.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.1ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (5.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (5.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (20.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 43.5ms | ActiveRecord: 1.5ms) Started DELETE "/menus/refinery/menu_links/1" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#destroy as JS Parameters: {"id"=>"1", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.3ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.2ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (1.8ms) commit transaction Completed 200 OK in 23ms (Views: 6.2ms | ActiveRecord: 3.5ms)  (2.1ms) DELETE FROM "refinery_images";  (0.3ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.8ms) DELETE FROM "refinery_menus";  (2.0ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.5ms) DELETE FROM "refinery_menus_links";  (1.6ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.9ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.5ms) DELETE FROM "refinery_page_parts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (2.1ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (1.7ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.4ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (2.0ms) DELETE FROM "refinery_roles";  (1.9ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.0ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.9ms) DELETE FROM "refinery_user_plugins";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (2.0ms) DELETE FROM "refinery_users";  (1.6ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.7ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (2.3ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.0ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$3q32rO77HiNVVFV0c2aqUeV4CSFW3UwB9D9xk228q/OXqBU.ngnD."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:47:41 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:47:41.801357', "current_sign_in_at" = '2013-02-04 14:47:41.801357', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:47:41.802404' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (73.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 109ms (Views: 99.4ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 44' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_44' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:47:41 UTC +00:00], ["permatitle", "menu_44"], ["title", "Menu 44"], ["updated_at", Mon, 04 Feb 2013 14:47:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Company"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Team"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Locations"], ["lft", 5], ["menu_match", nil], ["parent_id", 2], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 6], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 3 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 3 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 2 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 3 AND "refinery_menus_links"."lft" < 4) AND ("refinery_menus_links".id != 3) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "New York"], ["lft", 7], ["menu_match", nil], ["parent_id", 3], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 8], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 4 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 4 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 3 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 4 AND "refinery_menus_links"."lft" < 5) AND ("refinery_menus_links".id != 4) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "About"], ["lft", 9], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 10], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 5 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:47:41 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.3ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.3ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 3 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.4ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 4 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (6.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (12.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (18.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (24.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.4ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 5 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (5.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (36.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 69ms (Views: 59.2ms | ActiveRecord: 1.4ms)  (1.3ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (34.6ms) DROP TABLE "support_resource"  (2.6ms) CREATE TABLE "support_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (2.4ms) DROP TABLE "support_another_resource"  (2.1ms) CREATE TABLE "support_another_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (3.7ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 2' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_2' LIMIT 1 SQL (2.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_2"], ["title", "Menu 2"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 3' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_3' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_3"], ["title", "Menu 3"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 4' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_4' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_4"], ["title", "Menu 4"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 5' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_5' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_5"], ["title", "Menu 5"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 6' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_6' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_6"], ["title", "Menu 6"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 7' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_7' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_7"], ["title", "Menu 7"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 8' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_8' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_8"], ["title", "Menu 8"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 9' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_9' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_9"], ["title", "Menu 9"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 10' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_10' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_10"], ["title", "Menu 10"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 11' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_11' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_11"], ["title", "Menu 11"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 12' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_12' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_12"], ["title", "Menu 12"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 13' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_13' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_13"], ["title", "Menu 13"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 14' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_14' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_14"], ["title", "Menu 14"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 15' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_15' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_15"], ["title", "Menu 15"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 16' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_16' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_16"], ["title", "Menu 16"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 17' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_17' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_17"], ["title", "Menu 17"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 18' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_18' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_18"], ["title", "Menu 18"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 19' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_19' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_19"], ["title", "Menu 19"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 20' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_20' LIMIT 1 SQL (55.1ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_20"], ["title", "Menu 20"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 21' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_21' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_21"], ["title", "Menu 21"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 22' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_22' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_22"], ["title", "Menu 22"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 23' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_23' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_23"], ["title", "Menu 23"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 24' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_24' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_24"], ["title", "Menu 24"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 25' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_25' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_25"], ["title", "Menu 25"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 26' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_26' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_26"], ["title", "Menu 26"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 27' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_27' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_27"], ["title", "Menu 27"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 28' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_28' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_28"], ["title", "Menu 28"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 29' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_29' LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = '' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_30' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'second-menu' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 30' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = '' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Second Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 31' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_31' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_31"], ["title", "Menu 31"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 31' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_31' AND "refinery_menus"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 32' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_32' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_32"], ["title", "Menu 32"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "/myurl"], ["depth", nil], ["id_attribute", nil], ["label", "/myurl"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 33' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_33' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00], ["permatitle", "menu_33"], ["title", "Menu 33"], ["updated_at", Mon, 04 Feb 2013 14:49:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 AND "refinery_menus_links"."id" IN (1) ORDER BY lft ASC  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.2ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 34' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_34' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00], ["permatitle", "menu_34"], ["title", "Menu 34"], ["updated_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.1ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 35' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_35' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00], ["permatitle", "menu_35"], ["title", "Menu 35"], ["updated_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.8ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$MA84F3ifx0mxVkdvGg0RhO0ESAG4BU7OFcbKZ0AQotHt6ECCqXjC2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:10 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:10 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-authentication-2.0.9/app/views/refinery/sessions/new.html.erb within refinery/layouts/login (75.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (3.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (8.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.6ms) Completed 200 OK in 157ms (Views: 137.4ms | ActiveRecord: 0.3ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:10 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:10.687078', "current_sign_in_at" = '2013-02-04 14:49:10.687078', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:10.688541' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 96ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:10 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (159.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (162.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (20.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/index.html.erb within layouts/refinery/admin (188.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (5.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 240ms (Views: 228.0ms | ActiveRecord: 1.0ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/index.html.erb within layouts/refinery/admin (6.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 26.9ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$U4HEpXVeA1XEyL3k0MTG6ePuWkJQIuWyASbcuGpY9fqmQUGSpFK5C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:11.141763', "current_sign_in_at" = '2013-02-04 14:49:11.141763', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:11.142749' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 15ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 28.9ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 36' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_36' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["permatitle", "menu_36"], ["title", "Menu 36"], ["updated_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus"  Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (86.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (90.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 111ms (Views: 102.6ms | ActiveRecord: 0.8ms)  (0.8ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$PUgMyZNktoyhCHnciuAJguodEZe6I.Kk.mlyanJ8bd7ZDVfEnQM9u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:11.391279', "current_sign_in_at" = '2013-02-04 14:49:11.391279', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:11.392278' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 15ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 28.9ms | ActiveRecord: 0.9ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 37' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_37' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["permatitle", "menu_37"], ["title", "Menu 37"], ["updated_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (4.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (6.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 27ms (Views: 18.1ms | ActiveRecord: 0.8ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (4.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (13.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (78.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (6.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 133ms (Views: 123.7ms | ActiveRecord: 0.7ms) Started PUT "/menus/refinery/menus/1" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#update as HTML Parameters: {"utf8"=>"✓", "menu"=>{"title"=>"Updated Menu"}, "id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" LEFT OUTER JOIN "refinery_menus_links" AS parent ON "refinery_menus_links"."parent_id" = parent.id WHERE ("refinery_menus_links"."lft" IS NULL OR "refinery_menus_links"."rgt" IS NULL OR "refinery_menus_links"."lft" >= "refinery_menus_links"."rgt" OR ("refinery_menus_links"."parent_id" IS NOT NULL AND ("refinery_menus_links"."lft" <= parent."lft" OR "refinery_menus_links"."rgt" >= parent."rgt"))) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", COUNT("refinery_menus_links"."lft") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."lft" HAVING COUNT("refinery_menus_links"."lft") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."rgt", COUNT("refinery_menus_links"."rgt") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."rgt" HAVING COUNT("refinery_menus_links"."rgt") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" IS NULL ORDER BY "refinery_menus_links"."lft"  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Updated Menu' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_37' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) UPDATE "refinery_menus" SET "title" = 'Updated Menu', "updated_at" = '2013-02-04 14:49:11.648995' WHERE "refinery_menus"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/menus/refinery/menus Completed 302 Found in 20ms (ActiveRecord: 1.3ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:49:11 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (4.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (5.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 26ms (Views: 18.3ms | ActiveRecord: 0.7ms)  (1.0ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.1ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$FbNreV9CQKme78Mjl2cR4uslqV09jQWNAZLFQY5lSQfPkEY1zGCYu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:11 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (2.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.1ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:12 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 21ms (Views: 13.0ms | ActiveRecord: 1.6ms) Started GET "/assets/refinery/refinery.css" for 127.0.0.1 at 2013-02-04 15:49:13 +0100 Compiled refinery/layout.css (1036ms) (pid 22021) Compiled refinery/site_bar.css (46ms) (pid 22021) Compiled refinery/ui.css (51ms) (pid 22021) Compiled refinery/submenu.css (14ms) (pid 22021) Compiled refinery/tooltips.css (35ms) (pid 22021) Compiled wymeditor/skins/refinery/skin.css (309ms) (pid 22021) Compiled refinery/refinery.css (1640ms) (pid 22021) Served asset /refinery/refinery.css - 200 OK (1661ms) Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:49:14 +0100 Compiled admin.js (0ms) (pid 22021) Served asset /admin.js - 200 OK (79ms) Started GET "/assets/refinery/wymeditor.js" for 127.0.0.1 at 2013-02-04 15:49:14 +0100 Compiled wymeditor/setup.js (18ms) (pid 22021) Compiled wymeditor/functions.js (8ms) (pid 22021) Compiled wymeditor/prototypes.js (30ms) (pid 22021) Compiled wymeditor/classes.js (41ms) (pid 22021) Compiled wymeditor/validators.js (21ms) (pid 22021) Compiled wymeditor/browsers/ie.js (7ms) (pid 22021) Compiled wymeditor/browsers/mozilla.js (10ms) (pid 22021) Compiled wymeditor/browsers/opera.js (4ms) (pid 22021) Compiled wymeditor/browsers/webkit.js (8ms) (pid 22021) Compiled refinery/boot_wym.js (10ms) (pid 22021) Compiled refinery/wymeditor.js (435ms) (pid 22021) Served asset /refinery/wymeditor.js - 200 OK (453ms) Started GET "/assets/wymeditor/skins/refinery/skin.js" for 127.0.0.1 at 2013-02-04 15:49:15 +0100 Compiled wymeditor/skins/refinery/skin.js (0ms) (pid 22021) Served asset /wymeditor/skins/refinery/skin.js - 200 OK (16ms) Started GET "/assets/refinery/refinery.js" for 127.0.0.1 at 2013-02-04 15:49:15 +0100 Compiled jquery.js (64ms) (pid 22021) Compiled jquery_ujs.js (0ms) (pid 22021) Compiled jquery-ui.js (4ms) (pid 22021) Compiled modernizr-min.js (0ms) (pid 22021) Compiled jquery/jquery.corner.js (0ms) (pid 22021) Compiled jquery/jquery.textTruncate.js (0ms) (pid 22021) Compiled jquery/jquery.html5-placeholder-shim.js (0ms) (pid 22021) Compiled jquery/jquery.timers.js (0ms) (pid 22021) Compiled jquery/jquery.jcarousel.js (1ms) (pid 22021) Compiled refinery/core.js (0ms) (pid 22021) Compiled refinery/site_bar.js (0ms) (pid 22021) Compiled refinery/admin.js (30ms) (pid 22021) Compiled refinery/submenu.js (2ms) (pid 22021) Compiled refinery/interface.js (270ms) (pid 22021) Compiled refinery/sortable_menu.js (86ms) (pid 22021) Compiled refinery/submit_continue.js (85ms) (pid 22021) Compiled refinery/ajaxy_pagination.js (165ms) (pid 22021) Compiled refinery/refinery.js (1003ms) (pid 22021) Served asset /refinery/refinery.js - 200 OK (1097ms) Started GET "/assets/wymeditor/lang/en.js" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Compiled wymeditor/lang/en.js (0ms) (pid 22021) Served asset /wymeditor/lang/en.js - 200 OK (16ms) Started GET "/assets/refinery/page_bg.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/page_bg.png - 200 OK (11ms) Started GET "/assets/refinery/text_field_background.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/text_field_background.png - 200 OK (9ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:49:16 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 38' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_38' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:16 UTC +00:00], ["permatitle", "menu_38"], ["title", "Menu 38"], ["updated_at", Mon, 04 Feb 2013 14:49:16 UTC +00:00]]  (1.7ms) commit transaction Served asset /refinery/ajax-loader.gif - 200 OK (21ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:16.705726', "current_sign_in_at" = '2013-02-04 14:49:16.705726', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:16.706856' WHERE "refinery_users"."id" = 1  (1.9ms) commit transaction Redirected to http://127.0.0.1:7798/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 21ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (14.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 44ms (Views: 30.7ms | ActiveRecord: 2.1ms) Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/logo-site-bar.png - 200 OK (16ms) Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/icons/arrow_switch.png - 200 OK (11ms) Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/orange_button.png - 200 OK (10ms) Started GET "/assets/refinery/nav_inactive_background.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/nav_inactive_background.png - 200 OK (11ms) Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/icons/tick.png - 200 OK (13ms) Started GET "/assets/refinery/icons/accept.png" for 127.0.0.1 at 2013-02-04 15:49:16 +0100 Served asset /refinery/icons/accept.png - 200 OK (81ms) Started GET "/assets/refinery/icons/add.png" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/icons/add.png - 200 OK (8ms) Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/icons/application_edit.png - 200 OK (8ms) Started GET "/assets/refinery/icons/flags/en.png" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/icons/flags/en.png - 200 OK (9ms) Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/carousel-right.png - 200 OK (7ms) Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/carousel-left.png - 200 OK (9ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (7.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (7.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 31.6ms | ActiveRecord: 1.6ms) Started GET "/assets/refinery/select_form.css" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Compiled refinery/select_form.css (130ms) (pid 22021) Served asset /refinery/select_form.css - 200 OK (143ms) Started GET "/assets/refinery/backend.js" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Compiled refinery/backend.js (97ms) (pid 22021) Served asset /refinery/backend.js - 200 OK (112ms) Started GET "/assets/refinery/nestedsortables.js" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Compiled refinery/nestedsortables.js (0ms) (pid 22021) Served asset /refinery/nestedsortables.js - 200 OK (17ms) Started GET "/assets/refinery/tree.js" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Compiled refinery/tree.js (0ms) (pid 22021) Served asset /refinery/tree.js - 200 OK (95ms) Started GET "/assets/refinery/serializelist.js" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Compiled refinery/serializelist.js (0ms) (pid 22021) Served asset /refinery/serializelist.js - 200 OK (14ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>"Google"}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.4ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (5.2ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (26.5ms) Completed 200 OK in 87ms (Views: 66.7ms | ActiveRecord: 4.4ms) Started GET "/assets/refinery/icons/down.gif" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Served asset /refinery/icons/down.gif - 200 OK (10ms)  (1.4ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.5ms) DELETE FROM "refinery_menus";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.1ms) DELETE FROM "refinery_menus_links";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.7ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.6ms) DELETE FROM "refinery_page_parts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (1.8ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (2.6ms) DELETE FROM "refinery_pages";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (2.3ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.7ms) DELETE FROM "refinery_roles";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.9ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.7ms) DELETE FROM "refinery_user_plugins";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (2.4ms) DELETE FROM "refinery_users";  (1.8ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.7ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.6ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.8ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource'; Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.4ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:17 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$eHnM3k9HPXMpe4MT0Y7VCevxYfXbjYPuX59/KuHSKqF9x34IWeZo."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:17 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.2ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:17 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:49:18 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 39' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_39' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["permatitle", "menu_39"], ["title", "Menu 39"], ["updated_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00]]  (1.8ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:18.070049', "current_sign_in_at" = '2013-02-04 14:49:18.070049', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:18.071061' WHERE "refinery_users"."id" = 1  (2.0ms) commit transaction Redirected to http://127.0.0.1:7798/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 19ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (82.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 108ms (Views: 98.1ms | ActiveRecord: 1.3ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (7.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (5.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (8.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 32.2ms | ActiveRecord: 1.1ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (5.9ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.6ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (7.0ms) Completed 200 OK in 29ms (Views: 9.0ms | ActiveRecord: 7.6ms)  (2.0ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.8ms) DELETE FROM "refinery_menus";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.0ms) DELETE FROM "refinery_menus_links";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.5ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (2.5ms) DELETE FROM "refinery_page_parts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (2.0ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (2.2ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (2.0ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.3ms) DELETE FROM "refinery_roles";  (2.0ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.4ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.6ms) DELETE FROM "refinery_user_plugins";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.4ms) DELETE FROM "refinery_users";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.9ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.8ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.2ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$LU4nJlTtQQlF9qBXX9BHv.pxZXvVd9weKbgIkRd5zibyAb232agBa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:18.650048', "current_sign_in_at" = '2013-02-04 14:49:18.650048', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:18.651042' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 38ms (Views: 29.1ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 40' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_40' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["permatitle", "menu_40"], ["title", "Menu 40"], ["updated_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (7.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (6.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 29.9ms | ActiveRecord: 0.8ms)  (1.0ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.9ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$rT5aL9I90YuCbAPjcvC4CeU8Pm4Ow0FODnF7Unk5RAfedTubpXGO."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.7ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.4ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:49:18 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 41' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_41' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00], ["permatitle", "menu_41"], ["title", "Menu 41"], ["updated_at", Mon, 04 Feb 2013 14:49:18 UTC +00:00]]  (2.4ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:18 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:19.010243', "current_sign_in_at" = '2013-02-04 14:49:19.010243', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:19.011284' WHERE "refinery_users"."id" = 1  (1.6ms) commit transaction Redirected to http://127.0.0.1:7798/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 19ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 41ms (Views: 30.2ms | ActiveRecord: 1.4ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (7.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 30.4ms | ActiveRecord: 1.0ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://"], ["depth", nil], ["id_attribute", nil], ["label", "http://"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (5.5ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.7ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (7.0ms) Completed 200 OK in 31ms (Views: 9.0ms | ActiveRecord: 7.4ms)  (1.2ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.3ms) DELETE FROM "refinery_menus";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.2ms) DELETE FROM "refinery_menus_links";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.4ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.4ms) 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.5ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.3ms) DELETE FROM "refinery_resources";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (2.1ms) DELETE FROM "refinery_roles";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.6ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.5ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.6ms) DELETE FROM "refinery_users";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.2ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.4ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.5ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$3Q..6r0gdVpCfg1lz1X5Qejr83XWASgtKSMu3EdAUfVrgp40sD31G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.3ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:19.526998', "current_sign_in_at" = '2013-02-04 14:49:19.526998', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:19.528192' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 17ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 40ms (Views: 29.5ms | ActiveRecord: 1.1ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 42' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_42' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["permatitle", "menu_42"], ["title", "Menu 42"], ["updated_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (4.5ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (12.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.5ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (6.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (28.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 51.0ms | ActiveRecord: 1.1ms)  (1.2ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.2ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.6ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$DcI5Qs2JQ4aLaKYFeutg0ereYbN8vWI4olCpVwFiZurYJBOFix7du"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.5ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.4ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:49:19 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 43' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_43' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00], ["permatitle", "menu_43"], ["title", "Menu 43"], ["updated_at", Mon, 04 Feb 2013 14:49:19 UTC +00:00]]  (2.1ms) commit transaction  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (1.9ms) commit transaction  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (2.0ms) commit transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:19.944293', "current_sign_in_at" = '2013-02-04 14:49:19.944293', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:19.945317' WHERE "refinery_users"."id" = 1  (2.0ms) commit transaction Redirected to http://127.0.0.1:7798/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 19ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 39ms (Views: 29.0ms | ActiveRecord: 1.3ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:20 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.3ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (6.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (5.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (5.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (20.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 53ms (Views: 43.5ms | ActiveRecord: 1.4ms) Started DELETE "/menus/refinery/menu_links/1" for 127.0.0.1 at 2013-02-04 15:49:20 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#destroy as JS Parameters: {"id"=>"1", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", "1"]]  (0.1ms) begin transaction Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.3ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (2.0ms) commit transaction Completed 200 OK in 23ms (Views: 5.8ms | ActiveRecord: 3.7ms)  (17.7ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (2.1ms) DELETE FROM "refinery_menus";  (1.9ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.2ms) DELETE FROM "refinery_menus_links";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.9ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.6ms) DELETE FROM "refinery_page_parts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (1.6ms) 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.2ms) DELETE FROM "refinery_resources";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.2ms) DELETE FROM "refinery_roles";  (1.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.5ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.6ms) DELETE FROM "refinery_user_plugins";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.4ms) DELETE FROM "refinery_users";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.3ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (2.1ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.5ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.7ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$oPSS2sX2ncFxu9qg500O8e6Rg5KniEyyX32tV9a4cyRpNUMv1P4Eq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:49:20 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-02-04 15:49:20 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 0.3ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-02-04 15:49:20 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:49:20.992875', "current_sign_in_at" = '2013-02-04 14:49:20.992875', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:49:20.994048' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 18ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:49:21 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.3ms) Completed 200 OK in 39ms (Views: 29.2ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 44' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_44' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:49:21 UTC +00:00], ["permatitle", "menu_44"], ["title", "Menu 44"], ["updated_at", Mon, 04 Feb 2013 14:49:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Company"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Team"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Locations"], ["lft", 5], ["menu_match", nil], ["parent_id", 2], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 6], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 3 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 3 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 2 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 3 AND "refinery_menus_links"."lft" < 4) AND ("refinery_menus_links".id != 3) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "New York"], ["lft", 7], ["menu_match", nil], ["parent_id", 3], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 8], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 4 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 4 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 3 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 4 AND "refinery_menus_links"."lft" < 5) AND ("refinery_menus_links".id != 4) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "About"], ["lft", 9], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 10], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 5 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:49:21 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (6.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.3ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 3 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 4 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (5.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (11.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (17.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (23.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.2ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 5 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (5.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (35.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 67ms (Views: 57.7ms | ActiveRecord: 1.2ms)  (19.2ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (21.2ms) DROP TABLE "support_resource"  (2.0ms) CREATE TABLE "support_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (2.6ms) DROP TABLE "support_another_resource"  (2.3ms) CREATE TABLE "support_another_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (44.4ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 2' LIMIT 1 Refinery::Menus::Menu Exists (0.6ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_2' LIMIT 1 SQL (49.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_2"], ["title", "Menu 2"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 3' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_3' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_3"], ["title", "Menu 3"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 4' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_4' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_4"], ["title", "Menu 4"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 5' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_5' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_5"], ["title", "Menu 5"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 6' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_6' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_6"], ["title", "Menu 6"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 7' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_7' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_7"], ["title", "Menu 7"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 8' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_8' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_8"], ["title", "Menu 8"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 9' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_9' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_9"], ["title", "Menu 9"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 10' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_10' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_10"], ["title", "Menu 10"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 11' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_11' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_11"], ["title", "Menu 11"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 12' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_12' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_12"], ["title", "Menu 12"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 13' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_13' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_13"], ["title", "Menu 13"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 14' LIMIT 1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_14' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_14"], ["title", "Menu 14"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 15' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_15' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_15"], ["title", "Menu 15"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 16' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_16' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_16"], ["title", "Menu 16"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 17' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_17' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_17"], ["title", "Menu 17"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 18' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_18' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_18"], ["title", "Menu 18"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 19' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_19' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_19"], ["title", "Menu 19"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 20' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_20' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_20"], ["title", "Menu 20"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 21' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_21' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_21"], ["title", "Menu 21"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 22' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_22' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_22"], ["title", "Menu 22"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 23' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_23' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_23"], ["title", "Menu 23"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 24' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_24' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_24"], ["title", "Menu 24"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 25' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_25' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_25"], ["title", "Menu 25"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 26' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_26' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_26"], ["title", "Menu 26"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 27' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_27' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_27"], ["title", "Menu 27"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 28' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_28' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_28"], ["title", "Menu 28"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 29' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_29' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = '' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_30' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'second-menu' LIMIT 1  (0.6ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 30' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = '' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Second Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 31' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_31' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_31"], ["title", "Menu 31"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (18.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (2.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 31' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_31' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 32' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_32' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_32"], ["title", "Menu 32"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "/myurl"], ["depth", nil], ["id_attribute", nil], ["label", "/myurl"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 33' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_33' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_33"], ["title", "Menu 33"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 AND "refinery_menus_links"."id" IN (1) ORDER BY lft ASC  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 34' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_34' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_34"], ["title", "Menu 34"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 35' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_35' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["permatitle", "menu_35"], ["title", "Menu 35"], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.8ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (12.8ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::User Exists (0.5ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (1.0ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$jIwizIA06/BdAwsnK3Kdcu/ZawVcq.VjZYco4h1gm9rYQ/nw7d4Qm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:18 UTC +00:00], ["username", "refinerycms"]]  (1.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:18 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-authentication-2.0.9/app/views/refinery/sessions/new.html.erb within refinery/layouts/login (69.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (8.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.4ms) Completed 200 OK in 179ms (Views: 157.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:19.286361', "current_sign_in_at" = '2013-03-15 21:46:19.286361', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:19.287200' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 38ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (17.6ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.8ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.7ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (120.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (122.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (12.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/index.html.erb within layouts/refinery/admin (149.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (5.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (4.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 236ms (Views: 208.7ms | ActiveRecord: 19.5ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (3.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/index.html.erb within layouts/refinery/admin (7.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 33.2ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$eET0fMD6LN8Qsr3MbHBFo.X4tuWMQNffdSWcxOKwsrBeh008yXddm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (43.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 47.4ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:19.696320', "current_sign_in_at" = '2013-03-15 21:46:19.696320', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:19.696979' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 12ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (7.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (0.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 22ms (Views: 16.5ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 36' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_36' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["permatitle", "menu_36"], ["title", "Menu 36"], ["updated_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) SELECT COUNT(*) FROM "refinery_menus"  Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (42.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (45.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 58ms (Views: 52.5ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.0ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$zxSlPTGe3FeW2aqa9o3sHeDHyAGZn6We3aEtA9aDvLlmsU1nUWz2u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:19.888760', "current_sign_in_at" = '2013-03-15 21:46:19.888760', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:19.889415' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 12ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (7.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 22ms (Views: 16.6ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 37' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_37' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00], ["permatitle", "menu_37"], ["title", "Menu 37"], ["updated_at", Fri, 15 Mar 2013 21:46:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (1.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 0.5ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:19 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.0ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.2ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (6.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (27.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (29.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 86ms (Views: 79.5ms | ActiveRecord: 0.7ms) Started PUT "/menus/refinery/menus/1" for 127.0.0.1 at 2013-03-15 22:46:20 +0100 Processing by Refinery::Menus::Admin::MenusController#update as HTML Parameters: {"utf8"=>"✓", "menu"=>{"title"=>"Updated Menu"}, "id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" LEFT OUTER JOIN "refinery_menus_links" AS parent ON "refinery_menus_links"."parent_id" = parent.id WHERE ("refinery_menus_links"."lft" IS NULL OR "refinery_menus_links"."rgt" IS NULL OR "refinery_menus_links"."lft" >= "refinery_menus_links"."rgt" OR ("refinery_menus_links"."parent_id" IS NOT NULL AND ("refinery_menus_links"."lft" <= parent."lft" OR "refinery_menus_links"."rgt" >= parent."rgt"))) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", COUNT("refinery_menus_links"."lft") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."lft" HAVING COUNT("refinery_menus_links"."lft") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."rgt", COUNT("refinery_menus_links"."rgt") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."rgt" HAVING COUNT("refinery_menus_links"."rgt") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" IS NULL ORDER BY "refinery_menus_links"."lft"  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Updated Menu' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_37' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) UPDATE "refinery_menus" SET "title" = 'Updated Menu', "updated_at" = '2013-03-15 21:46:20.051113' WHERE "refinery_menus"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/menus/refinery/menus Completed 302 Found in 13ms (ActiveRecord: 1.0ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-15 22:46:20 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (1.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 16ms (Views: 11.2ms | ActiveRecord: 0.5ms)  (0.8ms) rollback transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.3ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$a/IiDGTy7yyZeiAhR.csy.Woo2xXV8JkususJ96eWQY.QO4FgGiQW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:20 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.2ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (2.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.7ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:24 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.0ms | ActiveRecord: 1.4ms) Started GET "/assets/refinery/refinery.css" for 127.0.0.1 at 2013-03-15 22:46:24 +0100 Compiled refinery/layout.css (674ms) (pid 42931) Compiled refinery/site_bar.css (30ms) (pid 42931) Compiled refinery/ui.css (27ms) (pid 42931) Compiled refinery/submenu.css (7ms) (pid 42931) Compiled refinery/tooltips.css (20ms) (pid 42931) Compiled wymeditor/skins/refinery/skin.css (146ms) (pid 42931) Compiled refinery/refinery.css (1022ms) (pid 42931) Served asset /refinery/refinery.css - 200 OK (1138ms) Started GET "/assets/admin.js" for 127.0.0.1 at 2013-03-15 22:46:25 +0100 Compiled admin.js (0ms) (pid 42931) Served asset /admin.js - 200 OK (36ms) Started GET "/assets/refinery/wymeditor.js" for 127.0.0.1 at 2013-03-15 22:46:25 +0100 Compiled wymeditor/setup.js (11ms) (pid 42931) Compiled wymeditor/functions.js (48ms) (pid 42931) Compiled wymeditor/prototypes.js (17ms) (pid 42931) Compiled wymeditor/classes.js (24ms) (pid 42931) Compiled wymeditor/validators.js (10ms) (pid 42931) Compiled wymeditor/browsers/ie.js (3ms) (pid 42931) Compiled wymeditor/browsers/mozilla.js (4ms) (pid 42931) Compiled wymeditor/browsers/opera.js (2ms) (pid 42931) Compiled wymeditor/browsers/webkit.js (4ms) (pid 42931) Compiled refinery/boot_wym.js (6ms) (pid 42931) Compiled refinery/wymeditor.js (382ms) (pid 42931) Served asset /refinery/wymeditor.js - 200 OK (430ms) Started GET "/assets/refinery/refinery.js" for 127.0.0.1 at 2013-03-15 22:46:25 +0100 Compiled jquery.js (1ms) (pid 42931) Compiled jquery_ujs.js (0ms) (pid 42931) Compiled jquery-ui.js (3ms) (pid 42931) Compiled modernizr-min.js (0ms) (pid 42931) Compiled jquery/jquery.corner.js (0ms) (pid 42931) Compiled jquery/jquery.textTruncate.js (0ms) (pid 42931) Compiled jquery/jquery.html5-placeholder-shim.js (0ms) (pid 42931) Compiled jquery/jquery.timers.js (0ms) (pid 42931) Compiled jquery/jquery.jcarousel.js (0ms) (pid 42931) Compiled refinery/core.js (0ms) (pid 42931) Compiled refinery/site_bar.js (0ms) (pid 42931) Compiled refinery/admin.js (18ms) (pid 42931) Compiled refinery/submenu.js (1ms) (pid 42931) Compiled refinery/interface.js (867ms) (pid 42931) Compiled refinery/sortable_menu.js (91ms) (pid 42931) Compiled refinery/submit_continue.js (99ms) (pid 42931) Compiled refinery/ajaxy_pagination.js (94ms) (pid 42931) Compiled refinery/refinery.js (1704ms) (pid 42931) Served asset /refinery/refinery.js - 200 OK (1790ms) Started GET "/assets/wymeditor/skins/refinery/skin.js" for 127.0.0.1 at 2013-03-15 22:46:27 +0100 Compiled wymeditor/skins/refinery/skin.js (0ms) (pid 42931) Served asset /wymeditor/skins/refinery/skin.js - 200 OK (45ms) Started GET "/assets/wymeditor/lang/en.js" for 127.0.0.1 at 2013-03-15 22:46:27 +0100 Compiled wymeditor/lang/en.js (0ms) (pid 42931) Served asset /wymeditor/lang/en.js - 200 OK (71ms) Started GET "/assets/refinery/page_bg.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/page_bg.png - 200 OK (30ms) Started GET "/assets/refinery/text_field_background.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/text_field_background.png - 200 OK (6ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-15 22:46:28 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 38' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_38' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:28 UTC +00:00], ["permatitle", "menu_38"], ["title", "Menu 38"], ["updated_at", Fri, 15 Mar 2013 21:46:28 UTC +00:00]]  (2.6ms) commit transaction Served asset /refinery/ajax-loader.gif - 200 OK (34ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:28.754550', "current_sign_in_at" = '2013-03-15 21:46:28.754550', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:28.755385' WHERE "refinery_users"."id" = 1  (1.5ms) commit transaction Redirected to http://127.0.0.1:33306/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 17ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 21.3ms | ActiveRecord: 2.0ms) Started GET "/assets/refinery/nav_inactive_background.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/nav_inactive_background.png - 200 OK (8ms) Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/logo-site-bar.png - 200 OK (6ms) Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/orange_button.png - 200 OK (6ms) Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/icons/arrow_switch.png - 200 OK (8ms) Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-03-15 22:46:28 +0100 Served asset /refinery/icons/tick.png - 200 OK (9ms) Started GET "/assets/refinery/icons/accept.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/icons/accept.png - 200 OK (9ms) Started GET "/assets/refinery/icons/add.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/icons/add.png - 200 OK (6ms) Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/icons/application_edit.png - 200 OK (50ms) Started GET "/assets/refinery/icons/flags/en.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/icons/flags/en.png - 200 OK (22ms) Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/carousel-right.png - 200 OK (6ms) Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Served asset /refinery/carousel-left.png - 200 OK (6ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (5.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (4.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 19.5ms | ActiveRecord: 1.7ms) Started GET "/assets/refinery/select_form.css" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Compiled refinery/select_form.css (37ms) (pid 42931) Served asset /refinery/select_form.css - 200 OK (61ms) Started GET "/assets/refinery/nestedsortables.js" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Compiled refinery/nestedsortables.js (0ms) (pid 42931) Served asset /refinery/nestedsortables.js - 200 OK (27ms) Started GET "/assets/refinery/tree.js" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Compiled refinery/tree.js (0ms) (pid 42931) Served asset /refinery/tree.js - 200 OK (30ms) Started GET "/assets/refinery/serializelist.js" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Compiled refinery/serializelist.js (0ms) (pid 42931) Served asset /refinery/serializelist.js - 200 OK (10ms) Started GET "/assets/refinery/backend.js" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Compiled refinery/backend.js (86ms) (pid 42931) Served asset /refinery/backend.js - 200 OK (158ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-15 22:46:29 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>"Google"}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.5ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.6ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (18.2ms) Completed 200 OK in 83ms (Views: 67.6ms | ActiveRecord: 4.3ms) Started GET "/assets/refinery/icons/down.gif" for 127.0.0.1 at 2013-03-15 22:46:29 +0100  (11.2ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.7ms) DELETE FROM "refinery_menus";  (2.0ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.1ms) DELETE FROM "refinery_menus_links";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (30.8ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (2.1ms) DELETE FROM "refinery_page_parts"; Served asset /refinery/icons/down.gif - 200 OK (65ms)  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (112.5ms) DELETE FROM "refinery_page_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (290.9ms) DELETE FROM "refinery_pages";  (0.3ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (10.1ms) DELETE FROM "refinery_resources";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (5.2ms) DELETE FROM "refinery_roles";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.8ms) DELETE FROM "refinery_roles_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (2.7ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (44.8ms) DELETE FROM "refinery_users";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.8ms) DELETE FROM "seo_meta";  (0.2ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.5ms) DELETE FROM "support_resource";  (0.2ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.1ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource'; Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (11.6ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.9ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$bdaKet3KEXy3R3Yj6KKNd.MncDnrVqa7tUTX9ffnD.I/plyWWSiGW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:30 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (8.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (10.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (7.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (25.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (18.5ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (8.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (22.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (23.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (23.3ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:30 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-15 22:46:30 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 39' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_39' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:30 UTC +00:00], ["permatitle", "menu_39"], ["title", "Menu 39"], ["updated_at", Fri, 15 Mar 2013 21:46:30 UTC +00:00]]  (2.1ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:30 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) begin transaction  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:30.723353', "current_sign_in_at" = '2013-03-15 21:46:30.723353', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:30.724062' WHERE "refinery_users"."id" = 1  (1.5ms) commit transaction Redirected to http://127.0.0.1:33306/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 15ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:30 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 26ms (Views: 19.3ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:30 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (51.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (53.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 77ms (Views: 69.6ms | ActiveRecord: 0.9ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (1.8ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.2ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (4.5ms) Completed 200 OK in 19ms (Views: 5.8ms | ActiveRecord: 3.3ms)  (2.1ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.9ms) DELETE FROM "refinery_menus";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.7ms) DELETE FROM "refinery_menus_links";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.8ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.5ms) DELETE FROM "refinery_page_parts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (1.6ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (1.7ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (2.0ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.6ms) DELETE FROM "refinery_roles";  (2.0ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.7ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (2.0ms) DELETE FROM "refinery_user_plugins";  (2.0ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.5ms) DELETE FROM "refinery_users";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.6ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.6ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.0ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.0ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$R2ioUxEvQMAXitRAtLLNPuK1QgqAIH.8CHeXWlxBmvAAbSRI7.p2K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:31.210539', "current_sign_in_at" = '2013-03-15 21:46:31.210539', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:31.211323' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (7.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 23ms (Views: 17.1ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 40' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_40' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["permatitle", "menu_40"], ["title", "Menu 40"], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.0ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (1.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 25ms (Views: 18.8ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.7ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$zTFHcmMCEanRdFZickdO/OR1Sr2fHpPTTfkoT44zIGlO4jEhftCf."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.5ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-15 22:46:31 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 41' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_41' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["permatitle", "menu_41"], ["title", "Menu 41"], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00]]  (2.0ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) begin transaction  (0.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:31.430555', "current_sign_in_at" = '2013-03-15 21:46:31.430555', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:31.431273' WHERE "refinery_users"."id" = 1  (1.6ms) commit transaction Redirected to http://127.0.0.1:33306/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 65ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 25ms (Views: 18.1ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (1.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (4.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 26ms (Views: 18.8ms | ActiveRecord: 1.0ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://"], ["depth", nil], ["id_attribute", nil], ["label", "http://"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.3ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.1ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (4.3ms) Completed 200 OK in 17ms (Views: 5.5ms | ActiveRecord: 3.6ms)  (1.6ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.7ms) DELETE FROM "refinery_menus";  (2.2ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (1.7ms) DELETE FROM "refinery_menus_links";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.5ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.5ms) DELETE FROM "refinery_page_parts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (2.2ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (1.6ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.6ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (2.3ms) DELETE FROM "refinery_roles";  (1.9ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.0ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.7ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.4ms) DELETE FROM "refinery_users";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.4ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (2.0ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (2.0ms) DELETE FROM "support_another_resource";  (0.2ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.0ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$QdEV5vING7ybtbYcZx3Fm.iA3fhNQPG/1tTp9FqNxSAHv9xtYRXBS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:31.938473', "current_sign_in_at" = '2013-03-15 21:46:31.938473', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:31.939266' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (7.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 18.0ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 42' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_42' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00], ["permatitle", "menu_42"], ["title", "Menu 42"], ["updated_at", Fri, 15 Mar 2013 21:46:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:31 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (1.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.9ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (8.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.1ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (1.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (18.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 32.4ms | ActiveRecord: 0.9ms)  (1.0ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.9ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$aTr2v7DWMfKmYqsX6hNJju8mhJVZmCqMUbh6lQbvAHFUG8F8y0GZq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:32 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.8ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:32 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-15 22:46:32 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 43' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_43' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:32 UTC +00:00], ["permatitle", "menu_43"], ["title", "Menu 43"], ["updated_at", Fri, 15 Mar 2013 21:46:32 UTC +00:00]]  (1.6ms) commit transaction  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (1.7ms) commit transaction  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (2.0ms) commit transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:32 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:32.249968', "current_sign_in_at" = '2013-03-15 21:46:32.249968', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:32.250785' WHERE "refinery_users"."id" = 1  (1.4ms) commit transaction Redirected to http://127.0.0.1:33306/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 17ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:32 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 25ms (Views: 18.5ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:32 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (1.9ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.0ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.7ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (12.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 27.0ms | ActiveRecord: 1.3ms) Started DELETE "/menus/refinery/menu_links/1" for 127.0.0.1 at 2013-03-15 22:46:32 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#destroy as JS Parameters: {"id"=>"1", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", "1"]]  (0.0ms) begin transaction Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.3ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (2.3ms) commit transaction Completed 200 OK in 33ms (Views: 20.1ms | ActiveRecord: 3.8ms)  (2.2ms) DELETE FROM "refinery_images";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.9ms) DELETE FROM "refinery_menus";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.1ms) DELETE FROM "refinery_menus_links";  (1.6ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (2.1ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.9ms) DELETE FROM "refinery_page_parts";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (2.1ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (2.2ms) 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.8ms) DELETE FROM "refinery_roles";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.9ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (2.1ms) DELETE FROM "refinery_user_plugins";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.9ms) DELETE FROM "refinery_users";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (1.4ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.3ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.4ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$vLqBJ5yrayu7t7r7f1JcAelJC3c2BaeyS0v6OjANRku8oCr2l.Znq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Fri, 15 Mar 2013 21:46:33 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-15 22:46:33 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-15 22:46:33 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-15 21:46:33.207961', "current_sign_in_at" = '2013-03-15 21:46:33.207961', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-15 21:46:33.208786' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 14ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-15 22:46:33 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 26ms (Views: 18.8ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 44' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_44' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Fri, 15 Mar 2013 21:46:33 UTC +00:00], ["permatitle", "menu_44"], ["title", "Menu 44"], ["updated_at", Fri, 15 Mar 2013 21:46:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Company"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Team"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Our Locations"], ["lft", 5], ["menu_match", nil], ["parent_id", 2], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 6], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 6 - 4 WHEN "lft" BETWEEN 5 AND 6 THEN "lft" + 3 - 5 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 6 - 4 WHEN "rgt" BETWEEN 5 AND 6 THEN "rgt" + 3 - 5 ELSE "rgt" END, "parent_id" = CASE WHEN id = 3 THEN 2 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 3 AND "refinery_menus_links"."lft" < 4) AND ("refinery_menus_links".id != 3) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 2 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 3 AND "refinery_menus_links"."rgt" >= 4) AND ("refinery_menus_links".id != 3)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "New York"], ["lft", 7], ["menu_match", nil], ["parent_id", 3], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 8], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 4 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 4 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 4 THEN 3 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 4 AND "refinery_menus_links"."lft" < 5) AND ("refinery_menus_links".id != 4) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 3 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 4 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 4 AND "refinery_menus_links"."rgt" >= 5) AND ("refinery_menus_links".id != 4)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.1ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "About"], ["lft", 9], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 10], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 5]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 5 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-15 22:46:33 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (1.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (1.9ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.0ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (1.9ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 3 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (1.9ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 4 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (7.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (10.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (14.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.0ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 5 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (1.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (22.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 35.5ms | ActiveRecord: 1.1ms)  (1.0ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (20.7ms) DROP TABLE "support_resource"  (2.2ms) CREATE TABLE "support_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (2.3ms) DROP TABLE "support_another_resource"  (2.3ms) CREATE TABLE "support_another_resource" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "draft" boolean DEFAULT 'f')   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (40.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 2' LIMIT 1 Refinery::Menus::Menu Exists (0.5ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_2' LIMIT 1 SQL (49.0ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_2"], ["title", "Menu 2"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"   (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "support_resource" ("draft", "title") VALUES (?, ?) [["draft", true], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "support_another_resource" ("draft", "title") VALUES (?, ?) [["draft", false], ["title", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f' Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" WHERE "support_resource"."draft" = 'f'  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 3' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_3' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_3"], ["title", "Menu 3"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 4' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_4' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_4"], ["title", "Menu 4"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 5' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_5' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_5"], ["title", "Menu 5"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 6' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_6' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_6"], ["title", "Menu 6"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 7' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_7' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_7"], ["title", "Menu 7"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 8' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_8' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_8"], ["title", "Menu 8"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 9' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_9' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_9"], ["title", "Menu 9"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 10' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_10' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_10"], ["title", "Menu 10"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 11' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_11' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_11"], ["title", "Menu 11"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 12' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_12' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_12"], ["title", "Menu 12"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 13' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_13' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_13"], ["title", "Menu 13"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 14' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_14' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_14"], ["title", "Menu 14"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 15' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_15' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_15"], ["title", "Menu 15"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 16' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_16' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_16"], ["title", "Menu 16"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 17' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_17' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_17"], ["title", "Menu 17"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.3ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 18' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_18' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_18"], ["title", "Menu 18"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 19' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_19' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_19"], ["title", "Menu 19"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 20' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_20' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_20"], ["title", "Menu 20"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 21' LIMIT 1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_21' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_21"], ["title", "Menu 21"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 22' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_22' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_22"], ["title", "Menu 22"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 23' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_23' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_23"], ["title", "Menu 23"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 24' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_24' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_24"], ["title", "Menu 24"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 25' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_25' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_25"], ["title", "Menu 25"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 26' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_26' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_26"], ["title", "Menu 26"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 27' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_27' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_27"], ["title", "Menu 27"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 28' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_28' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_28"], ["title", "Menu 28"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 29' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_29' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = '' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_30' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'second-menu' LIMIT 1  (0.6ms) rollback transaction  (0.0ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 30' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = '' LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'First Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "first-menu"], ["title", "First Menu"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Second Menu' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'first-menu' LIMIT 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 31' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_31' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_31"], ["title", "Menu 31"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (16.9ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (1.9ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 31' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_31' AND "refinery_menus"."id" != 1) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 32' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_32' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00], ["permatitle", "menu_32"], ["title", "Menu 32"], ["updated_at", Tue, 26 Mar 2013 15:27:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_32' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "/myurl"], ["depth", nil], ["id_attribute", nil], ["label", "/myurl"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 33' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_33' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00], ["permatitle", "menu_33"], ["title", "Menu 33"], ["updated_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 AND "refinery_menus_links"."id" IN (1) ORDER BY lft ASC  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Menu 33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_33' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 1 AND "refinery_menus_links"."lft" < 2) AND ("refinery_menus_links".id != 1) ORDER BY "refinery_menus_links"."lft" SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = ("lft" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.1ms) UPDATE "refinery_menus_links" SET "rgt" = ("rgt" - 2) WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE ("refinery_menus_links"."rgt" > 2) ORDER BY "refinery_menus_links"."lft") SQL (0.2ms) DELETE FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 34' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_34' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00], ["permatitle", "menu_34"], ["title", "Menu 34"], ["updated_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 35' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_35' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00], ["permatitle", "menu_35"], ["title", "Menu 35"], ["updated_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "label"], ["lft", 3], ["menu_match", nil], ["parent_id", 1], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? ORDER BY "refinery_menus_links"."lft" LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."lft") Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" >= 2 AND "refinery_menus_links"."lft" < 3) AND ("refinery_menus_links".id != 2) ORDER BY "refinery_menus_links"."lft" Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links"."lft", "refinery_menus_links"."rgt", "refinery_menus_links"."parent_id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2) SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 1 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" WHERE ("refinery_menus_links"."lft" <= 2 AND "refinery_menus_links"."rgt" >= 3) AND ("refinery_menus_links".id != 2)  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC  (27.8ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (25.6ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Refinery::User Exists (20.0ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (17.2ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$9nXmJSjlYJGifZk4sd0ET.5xuUUa1yAql7hkbHl7o6yTYPjsFZMTC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:34 UTC +00:00], ["username", "refinerycms"]]  (0.7ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (23.0ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:34 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-authentication-2.0.9/app/views/refinery/sessions/new.html.erb within refinery/layouts/login (68.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (6.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.6ms) Completed 200 OK in 193ms (Views: 129.9ms | ActiveRecord: 0.3ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:34 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:34.870895', "current_sign_in_at" = '2013-03-26 15:27:34.870895', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:34.871786' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 41ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:34 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (16.3ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.9ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.5ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (118.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (120.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (13.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/index.html.erb within layouts/refinery/admin (148.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 231ms (Views: 205.3ms | ActiveRecord: 18.2ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (2.4ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/index.html.erb within layouts/refinery/admin (5.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 39ms (Views: 33.3ms | ActiveRecord: 0.5ms)  (0.9ms) rollback transaction  (0.0ms) begin transaction Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$JHbaohu6gBORsWtKWJ1R6.OQ/f.CcmPUwIJM.legtnIslFvkwSiNK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:35.282088', "current_sign_in_at" = '2013-03-26 15:27:35.282088', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:35.282894' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 18.0ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 36' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_36' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["permatitle", "menu_36"], ["title", "Menu 36"], ["updated_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus"  Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (36.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (39.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 53ms (Views: 47.2ms | ActiveRecord: 0.7ms)  (0.9ms) rollback transaction  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$yi37dNOwiM.k2fgr/MkYsuriLvCK3bG46RSFFRC4RcM.Q/KbYyowm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:35.475430', "current_sign_in_at" = '2013-03-26 15:27:35.475430', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:35.476150' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 17.8ms | ActiveRecord: 0.8ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 37' LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_37' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["permatitle", "menu_37"], ["title", "Menu 37"], ["updated_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (1.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (3.0ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 11.5ms | ActiveRecord: 0.6ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (20.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (17.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (3.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 61.4ms | ActiveRecord: 0.6ms) Started PUT "/menus/refinery/menus/1" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#update as HTML Parameters: {"utf8"=>"✓", "menu"=>{"title"=>"Updated Menu"}, "id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus_links" LEFT OUTER JOIN "refinery_menus_links" AS parent ON "refinery_menus_links"."parent_id" = parent.id WHERE ("refinery_menus_links"."lft" IS NULL OR "refinery_menus_links"."rgt" IS NULL OR "refinery_menus_links"."lft" >= "refinery_menus_links"."rgt" OR ("refinery_menus_links"."parent_id" IS NOT NULL AND ("refinery_menus_links"."lft" <= parent."lft" OR "refinery_menus_links"."rgt" >= parent."rgt"))) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."lft", COUNT("refinery_menus_links"."lft") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."lft" HAVING COUNT("refinery_menus_links"."lft") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links"."rgt", COUNT("refinery_menus_links"."rgt") FROM "refinery_menus_links" GROUP BY "refinery_menus_links"."rgt" HAVING COUNT("refinery_menus_links"."rgt") > 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" IS NULL ORDER BY "refinery_menus_links"."lft"  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."title" = 'Updated Menu' AND "refinery_menus"."id" != 1) LIMIT 1 Refinery::Menus::Menu Exists (0.0ms) SELECT 1 AS one FROM "refinery_menus" WHERE ("refinery_menus"."permatitle" = 'menu_37' AND "refinery_menus"."id" != 1) LIMIT 1  (0.1ms) UPDATE "refinery_menus" SET "title" = 'Updated Menu', "updated_at" = '2013-03-26 15:27:35.625044' WHERE "refinery_menus"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/menus/refinery/menus Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-03-26 16:27:35 +0100 Processing by Refinery::Menus::Admin::MenusController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (1.5ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (2.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (4.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 17ms (Views: 11.5ms | ActiveRecord: 0.6ms)  (0.9ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.4ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$6jGBIgvk8laoF1KOpahGT.Ew2XP.XLD9jQmCz6TO5lyYt7fNMU0D."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:35 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.9ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:39 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 1.1ms) Started GET "/assets/refinery/refinery.css" for 127.0.0.1 at 2013-03-26 16:27:39 +0100 Compiled refinery/layout.css (641ms) (pid 20500) Compiled refinery/site_bar.css (25ms) (pid 20500) Compiled refinery/ui.css (28ms) (pid 20500) Compiled refinery/submenu.css (8ms) (pid 20500) Compiled refinery/tooltips.css (20ms) (pid 20500) Compiled wymeditor/skins/refinery/skin.css (209ms) (pid 20500) Compiled refinery/refinery.css (1058ms) (pid 20500) Served asset /refinery/refinery.css - 200 OK (1094ms) Started GET "/assets/refinery/refinery.js" for 127.0.0.1 at 2013-03-26 16:27:40 +0100 Compiled jquery.js (49ms) (pid 20500) Compiled jquery_ujs.js (0ms) (pid 20500) Compiled jquery-ui.js (2ms) (pid 20500) Compiled modernizr-min.js (0ms) (pid 20500) Compiled jquery/jquery.corner.js (0ms) (pid 20500) Compiled jquery/jquery.textTruncate.js (0ms) (pid 20500) Compiled jquery/jquery.html5-placeholder-shim.js (0ms) (pid 20500) Compiled jquery/jquery.timers.js (0ms) (pid 20500) Compiled jquery/jquery.jcarousel.js (0ms) (pid 20500) Compiled admin.js (0ms) (pid 20500) Compiled refinery/core.js (0ms) (pid 20500) Compiled refinery/site_bar.js (0ms) (pid 20500) Compiled refinery/admin.js (22ms) (pid 20500) Compiled refinery/submenu.js (2ms) (pid 20500) Compiled refinery/interface.js (210ms) (pid 20500) Compiled refinery/sortable_menu.js (95ms) (pid 20500) Compiled refinery/submit_continue.js (146ms) (pid 20500) Compiled refinery/ajaxy_pagination.js (79ms) (pid 20500) Compiled refinery/refinery.js (1078ms) (pid 20500) Served asset /refinery/refinery.js - 200 OK (1172ms) Started GET "/assets/admin.js" for 127.0.0.1 at 2013-03-26 16:27:42 +0100 Served asset /admin.js - 200 OK (9ms) Started GET "/assets/refinery/wymeditor.js" for 127.0.0.1 at 2013-03-26 16:27:42 +0100 Compiled wymeditor/setup.js (18ms) (pid 20500) Compiled wymeditor/functions.js (8ms) (pid 20500) Compiled wymeditor/prototypes.js (17ms) (pid 20500) Compiled wymeditor/classes.js (24ms) (pid 20500) Compiled wymeditor/validators.js (17ms) (pid 20500) Compiled wymeditor/browsers/ie.js (4ms) (pid 20500) Compiled wymeditor/browsers/mozilla.js (6ms) (pid 20500) Compiled wymeditor/browsers/opera.js (2ms) (pid 20500) Compiled wymeditor/browsers/webkit.js (5ms) (pid 20500) Compiled refinery/boot_wym.js (6ms) (pid 20500) Compiled refinery/wymeditor.js (614ms) (pid 20500) Served asset /refinery/wymeditor.js - 200 OK (764ms) Started GET "/assets/wymeditor/lang/en.js" for 127.0.0.1 at 2013-03-26 16:27:43 +0100 Compiled wymeditor/lang/en.js (0ms) (pid 20500) Served asset /wymeditor/lang/en.js - 200 OK (579ms) Started GET "/assets/wymeditor/skins/refinery/skin.js" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Compiled wymeditor/skins/refinery/skin.js (0ms) (pid 20500) Served asset /wymeditor/skins/refinery/skin.js - 200 OK (58ms) Started GET "/assets/refinery/page_bg.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/page_bg.png - 200 OK (20ms) Started GET "/assets/refinery/text_field_background.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/text_field_background.png - 200 OK (16ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-26 16:27:44 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 38' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_38' LIMIT 1 SQL (0.7ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:44 UTC +00:00], ["permatitle", "menu_38"], ["title", "Menu 38"], ["updated_at", Tue, 26 Mar 2013 15:27:44 UTC +00:00]]  (1.5ms) commit transaction Served asset /refinery/ajax-loader.gif - 200 OK (191ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:44.776716', "current_sign_in_at" = '2013-03-26 15:27:44.776716', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:44.777698' WHERE "refinery_users"."id" = 1  (1.1ms) commit transaction Redirected to http://127.0.0.1:24810/refinery Refinery::Role Load (0.3ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 20ms (ActiveRecord: 0.3ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.3ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.3ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.2ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.4ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (11.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (3.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 42ms (Views: 25.0ms | ActiveRecord: 3.2ms) Started GET "/assets/refinery/nav_inactive_background.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/nav_inactive_background.png - 200 OK (18ms) Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/icons/arrow_switch.png - 200 OK (8ms) Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/orange_button.png - 200 OK (7ms) Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/icons/tick.png - 200 OK (10ms) Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-03-26 16:27:44 +0100 Served asset /refinery/logo-site-bar.png - 200 OK (8ms) Started GET "/assets/refinery/icons/accept.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/icons/accept.png - 200 OK (26ms) Started GET "/assets/refinery/icons/add.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/icons/add.png - 200 OK (7ms) Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/icons/application_edit.png - 200 OK (6ms) Started GET "/assets/refinery/icons/flags/en.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/icons/flags/en.png - 200 OK (20ms) Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/carousel-right.png - 200 OK (6ms) Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Served asset /refinery/carousel-left.png - 200 OK (8ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.6ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (5.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (4.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 21.6ms | ActiveRecord: 1.5ms) Started GET "/assets/refinery/select_form.css" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Compiled refinery/select_form.css (93ms) (pid 20500) Served asset /refinery/select_form.css - 200 OK (119ms) Started GET "/assets/refinery/nestedsortables.js" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Compiled refinery/nestedsortables.js (0ms) (pid 20500) Served asset /refinery/nestedsortables.js - 200 OK (24ms) Started GET "/assets/refinery/tree.js" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Compiled refinery/tree.js (0ms) (pid 20500) Served asset /refinery/tree.js - 200 OK (49ms) Started GET "/assets/refinery/serializelist.js" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Compiled refinery/serializelist.js (0ms) (pid 20500) Served asset /refinery/serializelist.js - 200 OK (76ms) Started GET "/assets/refinery/backend.js" for 127.0.0.1 at 2013-03-26 16:27:45 +0100 Compiled refinery/backend.js (138ms) (pid 20500) Served asset /refinery/backend.js - 200 OK (189ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-26 16:27:46 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>"Google"}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.1ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.7ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (1.6ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.3ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (17.6ms) Completed 200 OK in 85ms (Views: 70.2ms | ActiveRecord: 3.7ms) Started GET "/assets/refinery/icons/down.gif" for 127.0.0.1 at 2013-03-26 16:27:46 +0100  (17.6ms) DELETE FROM "refinery_images";  (0.3ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.7ms) DELETE FROM "refinery_menus";  (1.8ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (1.7ms) DELETE FROM "refinery_menus_links";  (2.2ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (50.0ms) DELETE FROM "refinery_page_part_translations";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (18.7ms) DELETE FROM "refinery_page_parts"; Served asset /refinery/icons/down.gif - 200 OK (111ms)  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (9.8ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (112.2ms) DELETE FROM "refinery_pages";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.5ms) DELETE FROM "refinery_resources";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.5ms) DELETE FROM "refinery_roles";  (1.8ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (1.6ms) DELETE FROM "refinery_roles_users";  (0.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.7ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.6ms) DELETE FROM "refinery_users";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (24.8ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.7ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.5ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource'; Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.6ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$7av7qwhjqZyUUtwewE9r8eFy/Tcowgy5mOpv6wQS9ew5gw1jjOIEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:46 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (2.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.0ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:46 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-26 16:27:46 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.2ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 39' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_39' LIMIT 1 SQL (0.6ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:46 UTC +00:00], ["permatitle", "menu_39"], ["title", "Menu 39"], ["updated_at", Tue, 26 Mar 2013 15:27:46 UTC +00:00]]  (1.4ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:46 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (73.2ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:46.680156', "current_sign_in_at" = '2013-03-26 15:27:46.680156', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:46.681072' WHERE "refinery_users"."id" = 1  (42.0ms) commit transaction Redirected to http://127.0.0.1:24810/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 131ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:46 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (9.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 28ms (Views: 20.8ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:46 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.2ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource" Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (5.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (3.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (5.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 21.8ms | ActiveRecord: 1.1ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://google.dk", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://google.dk"], ["depth", nil], ["id_attribute", nil], ["label", "Google"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.3ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.2ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (4.7ms) Completed 200 OK in 20ms (Views: 6.1ms | ActiveRecord: 3.9ms)  (1.6ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (2.6ms) DELETE FROM "refinery_menus";  (1.8ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (2.7ms) DELETE FROM "refinery_menus_links";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (1.9ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (1.3ms) 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.8ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (2.4ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.7ms) DELETE FROM "refinery_roles";  (2.2ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.5ms) DELETE FROM "refinery_roles_users";  (0.3ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (2.6ms) DELETE FROM "refinery_user_plugins";  (1.5ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.4ms) DELETE FROM "refinery_users";  (2.2ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.2ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.3ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.3ms) DELETE FROM "support_another_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$L4g9mBoHWXM/v5nliyBLMe8GRqkY.0r.0MCVX/7.imcVt5GBFBFai"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:47.305007', "current_sign_in_at" = '2013-03-26 15:27:47.305007', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:47.305882' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 0.7ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 40' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_40' LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["permatitle", "menu_40"], ["title", "Menu 40"], ["updated_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (1.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (4.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (1.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (3.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 18.4ms | ActiveRecord: 0.6ms)  (0.8ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (2.1ms) commit transaction  (0.0ms) begin transaction Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.4ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$z3UpvMu9sM1hVyc9sRyW1e9LVXZdN6Q2mhAWYn1l6sDFWsVTFvyP."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (2.2ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (1.9ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-26 16:27:47 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 41' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_41' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["permatitle", "menu_41"], ["title", "Menu 41"], ["updated_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00]]  (1.4ms) commit transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) begin transaction  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:47.530141', "current_sign_in_at" = '2013-03-26 15:27:47.530141', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:47.530982' WHERE "refinery_users"."id" = 1  (1.6ms) commit transaction Redirected to http://127.0.0.1:24810/refinery Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 16ms (ActiveRecord: 0.2ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (1.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (8.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 27ms (Views: 19.4ms | ActiveRecord: 1.1ms) Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.2ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (5.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.8ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (4.8ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.9ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 21.0ms | ActiveRecord: 1.0ms) Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-03-26 16:27:47 +0100 Processing by Refinery::Menus::Admin::MenuLinksController#create as JS Parameters: {"utf8"=>"✓", "menu_link"=>{"refinery_menu_id"=>"1", "custom_url"=>"http://", "label"=>""}, "commit"=>"Add Custom Link", "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1  (0.0ms) begin transaction Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", "http://"], ["depth", nil], ["id_attribute", nil], ["label", "http://"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (2.6ms) commit transaction Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.3ms) Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (4.5ms) Completed 200 OK in 19ms (Views: 6.1ms | ActiveRecord: 4.1ms)  (1.1ms) DELETE FROM "refinery_images";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_images';  (1.6ms) DELETE FROM "refinery_menus";  (1.7ms) DELETE FROM sqlite_sequence where name = 'refinery_menus';  (1.8ms) DELETE FROM "refinery_menus_links";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_menus_links';  (2.0ms) DELETE FROM "refinery_page_part_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_part_translations';  (2.0ms) DELETE FROM "refinery_page_parts";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_parts';  (1.9ms) DELETE FROM "refinery_page_translations";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_page_translations';  (2.1ms) DELETE FROM "refinery_pages";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_pages';  (1.6ms) DELETE FROM "refinery_resources";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_resources';  (1.4ms) DELETE FROM "refinery_roles";  (1.9ms) DELETE FROM sqlite_sequence where name = 'refinery_roles';  (2.0ms) DELETE FROM "refinery_roles_users";  (0.1ms) DELETE FROM sqlite_sequence where name = 'refinery_roles_users';  (1.7ms) DELETE FROM "refinery_user_plugins";  (1.3ms) DELETE FROM sqlite_sequence where name = 'refinery_user_plugins';  (1.4ms) DELETE FROM "refinery_users";  (1.4ms) DELETE FROM sqlite_sequence where name = 'refinery_users';  (2.0ms) DELETE FROM "seo_meta";  (0.1ms) DELETE FROM sqlite_sequence where name = 'seo_meta';  (1.4ms) DELETE FROM "support_resource";  (0.1ms) DELETE FROM sqlite_sequence where name = 'support_resource';  (1.5ms) DELETE FROM "support_another_resource";  (0.2ms) DELETE FROM sqlite_sequence where name = 'support_another_resource';  (0.2ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.8ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$y8fgI2YvHjzrpfC51qtBc.Xu2/gq3vH9FJMJe1cW0BFOizLCWja.O"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:47 UTC +00:00], ["username", "refinerycms"]]  (0.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:48 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.0ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.2ms) Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:48 +0100 Processing by Refinery::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:48.040923', "current_sign_in_at" = '2013-03-26 15:27:48.040923', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:48.041778' WHERE "refinery_users"."id" = 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/refinery Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Completed 302 Found in 13ms (ActiveRecord: 0.1ms) Started GET "/refinery" for 127.0.0.1 at 2013-03-26 16:27:48 +0100 Processing by Refinery::Admin::DashboardController#index as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7 Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7 Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7 Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (2.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (10.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms) Completed 200 OK in 31ms (Views: 23.1ms | ActiveRecord: 1.0ms)  (0.1ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 42' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_42' LIMIT 1 SQL (0.5ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00], ["permatitle", "menu_42"], ["title", "Menu 42"], ["updated_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (0.0ms) RELEASE SAVEPOINT active_record_1 Refinery::Menus::Menu Load (0.0ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]] Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:48 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1 Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1 Refinery::Menus::LinkResource Load (0.1ms) SELECT "support_resource".* FROM "support_resource"  Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (2.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (5.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (3.4ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 1 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (10.3ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_custom_link.html.erb (2.0ms) Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."parent_id" = 2 ORDER BY lft Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (3.7ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (1.9ms) Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (20.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (1.5ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.0ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 36.2ms | ActiveRecord: 0.9ms)  (0.9ms) rollback transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.1ms) begin transaction Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]  (1.4ms) commit transaction  (0.1ms) begin transaction Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.5ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "refinerycms@refinerycms.com"], ["encrypted_password", "$2a$04$C1ODa.groN1d6t/Cko1e.uYfevIjFsh0DMeEnGP0yuHtP6ALhTIDe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00], ["username", "refinerycms"]]  (0.1ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)  (2.3ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_core"], ["position", 0], ["user_id", 1]]  (1.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dialogs"], ["position", 1], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 2], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 3], ["user_id", 1]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 4], ["user_id", 1]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 5], ["user_id", 1]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 6], ["user_id", 1]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 7], ["user_id", 1]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_i18n"], ["position", 8], ["user_id", 1]]  (2.1ms) commit transaction Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:48 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.3ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.6ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.3ms) Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-03-26 16:27:48 +0100  (0.1ms) begin transaction Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."title" = 'Menu 43' LIMIT 1 Refinery::Menus::Menu Exists (0.1ms) SELECT 1 AS one FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'menu_43' LIMIT 1 SQL (0.4ms) INSERT INTO "refinery_menus" ("created_at", "permatitle", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00], ["permatitle", "menu_43"], ["title", "Menu 43"], ["updated_at", Tue, 26 Mar 2013 15:27:48 UTC +00:00]]  (1.5ms) commit transaction  (0.0ms) begin transaction Served asset /refinery/ajax-loader.gif - 304 Not Modified (0ms) Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 1"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 2], ["title_attribute", nil]] Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft") Started POST "/refinery/users/login" for 127.0.0.1 at 2013-03-26 16:27:48 +0100  (1.6ms) commit transaction Processing by Refinery::SessionsController#create as HTML  (0.1ms) begin transaction Parameters: {"utf8"=>"✓", "refinery_user"=>{"login"=>"refinerycms", "password"=>"[FILTERED]", "remember_me"=>"0"}, "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1 Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Link 2"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", nil], ["refinery_resource_type", nil], ["rgt", 4], ["title_attribute", nil]] Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE (username = 'refinerycms' OR email = 'refinerycms') LIMIT 1 Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (52.3ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")  (5053.6ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:48.329020', "current_sign_in_at" = '2013-03-26 15:27:48.329020', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:48.383411' WHERE "refinery_users"."id" = 1  (2.7ms) commit transaction SQLite3::BusyException: database is locked: UPDATE "refinery_users" SET "last_sign_in_at" = '2013-03-26 15:27:48.329020', "current_sign_in_at" = '2013-03-26 15:27:48.329020', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-03-26 15:27:48.383411' WHERE "refinery_users"."id" = 1 Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) rollback transaction Completed 500 Internal Server Error in 5127ms Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-03-26 16:27:53 +0100 Processing by Refinery::Menus::Admin::MenusController#edit as HTML Parameters: {"id"=>"1", "locale"=>:en} Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]] Refinery::Menus::MenuLink Load (0.2ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Completed 401 Unauthorized in 4ms Started GET "/refinery/login" for 127.0.0.1 at 2013-03-26 16:27:53 +0100 Processing by Refinery::SessionsController#new as HTML Parameters: {"locale"=>:en} Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1 Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1 Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (0.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.4ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (2.2ms) Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms) Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.2ms)  (5048.2ms) DELETE FROM "refinery_images"; SQLite3::BusyException: database is locked: DELETE FROM "refinery_images";  (0.1ms) begin transaction Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'refinerycms@refinerycms.com' LIMIT 1 Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'refinerycms' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction